mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-08-04 20:55:34 +02:00
cmake: add mkdir to the out-of-source build ex.
This commit is contained in:
parent
6b8c3956ad
commit
6b1e4f24ab
1 changed files with 2 additions and 2 deletions
|
@ -7,9 +7,9 @@
|
|||
|
||||
`cmake && make`
|
||||
|
||||
- Generate a Makefile and use it to compile a project in a separate folder (out-of-source build):
|
||||
- Generate a Makefile and use it to compile a project in a separate "build" folder (out-of-source build):
|
||||
|
||||
`cd {{build_folder}} && cmake ../ && make`
|
||||
`mkdir -p {{build}} && cd {{build}} && cmake ../ && make`
|
||||
|
||||
- Run cmake in interactive mode (it will ask for each variable, instead of using defaults):
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue