1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-06-07 15:46:02 +02:00

cmake: apply few review suggestions

Co-authored-by: bl-ue <54780737+bl-ue@users.noreply.github.com>
This commit is contained in:
Anton Karmanov 2021-01-22 15:45:01 +05:00 committed by Starbeamrainbowlabs
parent 32e858f5f7
commit da1db4d646

View file

@ -7,9 +7,9 @@
`cmake {{path/to/project_directory}}` `cmake {{path/to/project_directory}}`
- Generate a build recipe, build type setted to `Release` with CMake variable: - Generate a build recipe, with build type set to `Release` with CMake variable:
`cmake {{path/to/project_directory}} -D CMAKE_BUILD_TYPE=Release` `cmake {{path/to/project_directory}} -D {{CMAKE_BUILD_TYPE=Release}}`
- Build artifacts with the generated recipe in `build_directory`: - Build artifacts with the generated recipe in `build_directory`:
@ -21,7 +21,7 @@
- Install the build artifacts using the custom prefix for paths: - Install the build artifacts using the custom prefix for paths:
`cmake --install {{path/to/build_directory}} --strip --prefix {{path/to/prefix_directory}}` `cmake --install {{path/to/build_directory}} --strip --prefix {{path/to/directory}}`
- Run a custom build target: - Run a custom build target: