mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-06 05:40:54 -06:00
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
7 lines
194 B
ReStructuredText
7 lines
194 B
ReStructuredText
CMAKE_JOB_POOLS
|
|
---------------
|
|
|
|
If the :prop_gbl:`JOB_POOLS` global property is not set, the value
|
|
of this variable is used in its place. See :prop_gbl:`JOB_POOLS`
|
|
for additional information.
|