README: suggest release builds, as these are much faster.

Also, remove -DENABLE_TESTS=OFF, since tests are no longer run
when building the default target.
This commit is contained in:
whitequark 2017-02-02 17:45:55 +00:00
parent 279424290b
commit 51b88280e5

View File

@ -42,7 +42,7 @@ After that, build SolveSpace as following:
mkdir build mkdir build
cd build cd build
cmake .. -DENABLE_TESTS=OFF cmake .. -DCMAKE_BUILD_TYPE=Release
make make
sudo make install sudo make install
@ -66,7 +66,7 @@ After that, build 32-bit SolveSpace as following:
mkdir build mkdir build
cd build cd build
cmake .. -DCMAKE_TOOLCHAIN_FILE=../cmake/Toolchain-mingw32.cmake \ cmake .. -DCMAKE_TOOLCHAIN_FILE=../cmake/Toolchain-mingw32.cmake \
-DENABLE_TESTS=OFF -DCMAKE_BUILD_TYPE=Release
make make
Or, build 64-bit SolveSpace as following: Or, build 64-bit SolveSpace as following:
@ -74,7 +74,7 @@ Or, build 64-bit SolveSpace as following:
mkdir build mkdir build
cd build cd build
cmake .. -DCMAKE_TOOLCHAIN_FILE=../cmake/Toolchain-mingw64.cmake \ cmake .. -DCMAKE_TOOLCHAIN_FILE=../cmake/Toolchain-mingw64.cmake \
-DENABLE_TESTS=OFF -DCMAKE_BUILD_TYPE=Release
make make
The graphical interface is built as `build/bin/solvespace.exe`, and the command-line interface The graphical interface is built as `build/bin/solvespace.exe`, and the command-line interface
@ -101,7 +101,7 @@ After that, build SolveSpace as following:
mkdir build mkdir build
cd build cd build
cmake .. -DENABLE_TESTS=OFF cmake .. -DCMAKE_BUILD_TYPE=Release
make make
The application is built in `build/bin/solvespace.app`, the graphical interface executable The application is built in `build/bin/solvespace.app`, the graphical interface executable
@ -131,7 +131,7 @@ Visual Studio install. Then, run the following in cmd or PowerShell:
git submodule update --init git submodule update --init
mkdir build mkdir build
cd build cd build
cmake .. -G "NMake Makefiles" -DENABLE_TESTS=OFF cmake .. -G "NMake Makefiles" -DCMAKE_BUILD_TYPE=Release
nmake nmake
### Building with MinGW ### Building with MinGW
@ -145,7 +145,7 @@ in bash:
git submodule update --init git submodule update --init
mkdir build mkdir build
cd build cd build
cmake .. -DENABLE_TESTS=OFF cmake .. -DCMAKE_BUILD_TYPE=Release
make make
[gitwin]: https://git-scm.com/download/win [gitwin]: https://git-scm.com/download/win