diff options
| author | thecharlesblake | 2017-10-04 15:32:39 +0100 |
|---|---|---|
| committer | thecharlesblake | 2017-10-13 18:46:14 +0100 |
| commit | f3527383760c2eb497a895a86fd5f3679ee0066c (patch) | |
| tree | 6a2fa11b83ca87a03fdea2a1b0d8d18ff29ecf8f /build-instructions.md | |
| parent | Add conan.io to project & add Boost to Hello World (diff) | |
| download | metasol-f3527383760c2eb497a895a86fd5f3679ee0066c.tar.gz metasol-f3527383760c2eb497a895a86fd5f3679ee0066c.zip | |
Add release as well as debug build
Diffstat (limited to 'build-instructions.md')
| -rw-r--r-- | build-instructions.md | 24 |
1 files changed, 14 insertions, 10 deletions
diff --git a/build-instructions.md b/build-instructions.md index 02459b4..8ecb321 100644 --- a/build-instructions.md +++ b/build-instructions.md @@ -3,23 +3,27 @@ The project uses the CMake build system generator. there are several stages for building the project, running the program, and creating an installer. -## Installing dependencies +### Installing dependencies -`cd cmake-build-debug; conan install ..; cd ..` +`cd cmake-build-[debug|release]; conan install ..; cd ..` -## Generate Build System +### Generate Build System -`cmake -Bcmake-build-debug -H.` +`cmake -Bcmake-build-[debug|release] -H.` -## Build project +### Build project -`cmake --build cmake-build-debug` +`cmake --build cmake-build-[debug|release]` -## Run executable +### Run executable -`./cmake-build-debug/bin/solitaire_pip` +`./cmake-build-[debug|release]/bin/solitaire_pip` -## Create project installer +### Create project installer -`cpack --config cmake-build-debug/CPackConfig.cmake` +`cpack --config cmake-build-[debug|release]/CPackConfig.cmake` +## A Note on CLion + +If CLion complains that a dependency is missing, you may need to run the conan +install command, and then in Clion run 'File->Reload CMake Project |
