summaryrefslogtreecommitdiffstats
path: root/Help/prop_gbl
diff options
context:
space:
mode:
authorMatt McCormick <matt.mccormick@kitware.com>2017-11-20 21:49:41 (GMT)
committerMatt McCormick <matt.mccormick@kitware.com>2017-11-29 20:13:36 (GMT)
commit07185055d57f28347a1850a1f06787ac93f20afd (patch)
tree76602531d090c97c8644602ea971e1de5699454c /Help/prop_gbl
parent4d52b46c7046a23948221d4142d768b9ff834e33 (diff)
downloadCMake-07185055d57f28347a1850a1f06787ac93f20afd.zip
CMake-07185055d57f28347a1850a1f06787ac93f20afd.tar.gz
CMake-07185055d57f28347a1850a1f06787ac93f20afd.tar.bz2
Ninja: add CMAKE_JOB_POOLS variable as default for JOBS_POOLS
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
Diffstat (limited to 'Help/prop_gbl')
-rw-r--r--Help/prop_gbl/JOB_POOLS.rst3
1 files changed, 3 insertions, 0 deletions
diff --git a/Help/prop_gbl/JOB_POOLS.rst b/Help/prop_gbl/JOB_POOLS.rst
index 2ce74b8..b904f7a 100644
--- a/Help/prop_gbl/JOB_POOLS.rst
+++ b/Help/prop_gbl/JOB_POOLS.rst
@@ -19,5 +19,8 @@ Defined pools could be used globally by setting
or per target by setting the target properties
:prop_tgt:`JOB_POOL_COMPILE` and :prop_tgt:`JOB_POOL_LINK`.
+If not set, this property uses the value of the :variable:`CMAKE_JOB_POOLS`
+variable.
+
Build targets provided by CMake that are meant for individual interactive
use, such as ``install``, are placed in the ``console`` pool automatically.