Merge topic 'ninja-compile-link-pool'

7605e37 Ninja: job pool support for compiling and linking
This commit is contained in:
Brad King
2013-11-26 09:52:35 -05:00
committed by CMake Topic Stage
13 changed files with 128 additions and 1 deletions
+17
View File
@@ -0,0 +1,17 @@
JOB_POOL_COMPILE
----------------
Ninja only: Pool used for compiling.
The number of parallel compile processes could be limited by defining
pools with the global :prop_gbl:`JOB_POOLS`
property and then specifying here the pool name.
For instance:
.. code-block:: cmake
set_property(TARGET myexe PROPERTY JOB_POOL_COMPILE ten_jobs)
This property is initialized by the value of
:variable:`CMAKE_JOB_POOL_COMPILE`.
+16
View File
@@ -0,0 +1,16 @@
JOB_POOL_LINK
-------------
Ninja only: Pool used for linking.
The number of parallel link processes could be limited by defining
pools with the global :prop_gbl:`JOB_POOLS`
property and then specifing here the pool name.
For instance:
.. code-block:: cmake
set_property(TARGET myexe PROPERTY JOB_POOL_LINK two_jobs)
This property is initialized by the value of :variable:`CMAKE_JOB_POOL_LINK`.