mirror of
https://github.com/Kitware/CMake.git
synced 2026-05-06 22:30:07 -05:00
07185055d5
This enables configuration of build parallelism with the Ninja generator by
passing arguments on the command line to CMake. For example,
cmake \
'-DCMAKE_JOB_POOLS:STRING=compile=5;link=2' \
-DCMAKE_JOB_POOL_COMPILE:STRING=compile \
-DCMAKE_JOB_POOL_LINK:STRING=link \
~/src/MyProject
8 lines
270 B
ReStructuredText
8 lines
270 B
ReStructuredText
cmake-job-pool
|
|
--------------
|
|
|
|
* A :variable:`CMAKE_JOB_POOLS` variable was added specify a value to use for
|
|
the :prop_gbl:`JOB_POOLS` property. This enables control over build
|
|
parallelism with command line configuration parameters when using the Ninja
|
|
generator.
|