mirror of
https://github.com/glest/glest-source.git
synced 2025-08-16 21:33:59 +02:00
Fixed build instructions
This commit is contained in:
8
BUILD.md
8
BUILD.md
@@ -146,12 +146,12 @@ From the top of the project source directory:
|
|||||||
|
|
||||||
(`cmake` On Linux or Mac OS)
|
(`cmake` On Linux or Mac OS)
|
||||||
|
|
||||||
cmake .. -DINSTALL_DIR_DATA=<absolute-path-to-data>
|
cmake ..
|
||||||
|
|
||||||
(`cmake` on BSD. Setting the 2 variables before the cmake command tells
|
(`cmake` on BSD. Setting the 2 variables before the cmake command tells
|
||||||
cmake to use the correct compiler)
|
cmake to use the correct compiler)
|
||||||
|
|
||||||
CC=`which egcc` CXX=`which eg++` cmake .. -DINSTALL_DIR_DATA=<absolute-path-to-data>
|
CC=`which egcc` CXX=`which eg++` cmake ..
|
||||||
|
|
||||||
Now that the build configuration has been set, run make, replacing `X` with the number of CPU cores in your computer:
|
Now that the build configuration has been set, run make, replacing `X` with the number of CPU cores in your computer:
|
||||||
|
|
||||||
@@ -164,10 +164,6 @@ The zetaglest binaries will be in the `build/` directory. Run
|
|||||||
See [running](https://github.com/ZetaGlest/zetaglest-source#running) for
|
See [running](https://github.com/ZetaGlest/zetaglest-source#running) for
|
||||||
detailed information about running a server or hosting a game.
|
detailed information about running a server or hosting a game.
|
||||||
|
|
||||||
The value for INSTALL_DIR_DATA is written to the game when compiled,
|
|
||||||
therefore if you ever move your data directory, you will have to
|
|
||||||
recompile ZetaGlest.
|
|
||||||
|
|
||||||
After you run `cmake` for the first time, you won't need to specify any
|
After you run `cmake` for the first time, you won't need to specify any
|
||||||
options unless you want to change previously-used options. Just use
|
options unless you want to change previously-used options. Just use
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user