From da1db4d6464d82adb8e44e15573663237a800167 Mon Sep 17 00:00:00 2001 From: Anton Karmanov Date: Fri, 22 Jan 2021 15:45:01 +0500 Subject: [PATCH] cmake: apply few review suggestions Co-authored-by: bl-ue <54780737+bl-ue@users.noreply.github.com> --- pages/common/cmake.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pages/common/cmake.md b/pages/common/cmake.md index 3b7a31aab..a635ef2ef 100644 --- a/pages/common/cmake.md +++ b/pages/common/cmake.md @@ -7,9 +7,9 @@ `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`: @@ -21,7 +21,7 @@ - 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: