Last active
February 13, 2019 20:09
-
-
Save Ben1980/7b82fe93a50b08fdc7a0b9592e2a5923 to your computer and use it in GitHub Desktop.
Standard CMake build commands
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mkdir build //(1) We need a build directory | |
cd build | |
cmake .. //(2) Generating the the artifacts to build, if necesarry download Catch2 via -DDOWNLOAD_CATCH=1 parameter | |
make //(3) Build the binaries on linux, for windows you might need different commands, e.g. msbuild gravity.sln for a visual studio based build | |
ctest //(4) Running tests |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment