mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-22 05:42:09 +02:00
cmake: apply suggestions from review
Co-authored-by: bl-ue <54780737+bl-ue@users.noreply.github.com>
This commit is contained in:
parent
64d4a41efb
commit
c39095a21d
1 changed files with 5 additions and 5 deletions
|
@ -1,16 +1,16 @@
|
||||||
# cmake
|
# cmake
|
||||||
|
|
||||||
> Cross-platform build, testing and packaging automation system.
|
> Cross-platform build, testing and packaging automation system.
|
||||||
> CMake uses own shell-like syntax and generates recipes for several build systems.
|
> CMake uses its own shell-like syntax and generates recipes for many build systems.
|
||||||
> More information: <https://cmake.org/cmake/help/latest/manual/cmake.1.html>.
|
> More information: <https://cmake.org/cmake/help/latest/manual/cmake.1.html>.
|
||||||
|
|
||||||
- Generate a build recipe in the current directory with CMakeLists.txt from a project directory:
|
- Generate a build recipe in the current directory with `CMakeLists.txt` from a project directory:
|
||||||
|
|
||||||
`cmake {{path/to/project_dir/}}`
|
`cmake {{path/to/project_directory}}`
|
||||||
|
|
||||||
- Build with the generated recipe in build_dir (artifacts go to build_dir):
|
- Build artifacts with the generated recipe in `build_directory`:
|
||||||
|
|
||||||
`cmake --build {{path/to/build_dir/}}`
|
`cmake --build {{path/to/build_directory}}`
|
||||||
|
|
||||||
- Install the build artifacts into /usr/local/ striping debugging symbols:
|
- Install the build artifacts into /usr/local/ striping debugging symbols:
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue