docs: include CMAKE_BUILD_PARALLEL_LEVEL
This commit is contained in:
parent
58b3678d2a
commit
9147d40767
@ -38,7 +38,7 @@ So which set of methods should you use? As long as you *do not forget* to type t
|
|||||||
|
|
||||||
Just to clarify, you can point CMake at either the source directory *from the build directory*, or at an *existing* build directory from anywhere.
|
Just to clarify, you can point CMake at either the source directory *from the build directory*, or at an *existing* build directory from anywhere.
|
||||||
|
|
||||||
If you use `cmake --build` instead of directly calling the underlying build system, you can use `-v` for verbose builds (CMake 3.14+), `-j N` for parallel builds on N cores (CMake 3.12+), and `--target` (any version of CMake) or `-t` (CMake 3.15+) to pick a target. Otherwise, these commands vary between build systems, such as `VERBOSE=1 make` and `ninja -v`.
|
If you use `cmake --build` instead of directly calling the underlying build system, you can use `-v` for verbose builds (CMake 3.14+), `-j N` for parallel builds on N cores (CMake 3.12+), and `--target` (any version of CMake) or `-t` (CMake 3.15+) to pick a target. Otherwise, these commands vary between build systems, such as `VERBOSE=1 make` and `ninja -v`. You can instead use the environment variables for these, as well, such as `CMAKE_BUILD_PARALLEL_LEVEL` (CMake 3.12+) and `VERBOSE` (CMake 3.14+).
|
||||||
|
|
||||||
## Picking a compiler
|
## Picking a compiler
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user