-
Notifications
You must be signed in to change notification settings - Fork 24
/
Copy pathINSTALL
executable file
·43 lines (28 loc) · 1 KB
/
INSTALL
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
== DEPENDENCIES ==
MPI HDF5 SWIG CMake
All dependencies except CMake are optional.
== INSTALL == 1.) Windows 2.) Mac OS X 3.) Linux
== Windows ==
Virtual Quake currently does not support Windows.
== Mac OS X ==
With the OS X default Python.
mkdir build
cd build
cmake ..
make
If you have a third party installation of python (ie. from Homebrew or
MacPorts) Virtual Quake will build and install, but the Python QuakeLib
module may not work. This is because CMake builds against the system Python.
You can explicitly specify the Python installation to use with the following
flags and example paths:
cmake -DPYTHON_EXECUTABLE=/opt/local/bin/python \
-DPYTHON_LIBRARY=/opt/local/lib/libpython2.7.dylib \
-DPYTHON_INCLUDE_DIR=/opt/local/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7/ ..
Then run make as usual.
== Linux ==
mkdir build
cd build
cmake ..
make
== CLEAN RE-BUILD ==
Just delete the build directory and re-install based on the instructions above.