Update BUILD.md

Included instructions for multithread building.
This commit is contained in:
James Sherratt 2018-10-02 23:21:34 +01:00 committed by GitHub
parent 9472690963
commit e668431ca3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -170,9 +170,9 @@ cmake to use the correct compiler)
CC=`which egcc` CXX=`which eg++` cmake .. -DINSTALL_DIR_DATA=<absolute-path-to-data>
Now that the build configuration has been set, run make:
Now that the build configuration has been set, run make, replacing `X` with the number of CPU cores in your computer:
make
make -jX
The zetaglest binaries will be in the `build/` directory. Run
'./zetaglest' to start the game.