summaryrefslogtreecommitdiffstats
path: root/Help/prop_tgt
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2013-11-26 14:52:35 (GMT)
committerCMake Topic Stage <kwrobot@kitware.com>2013-11-26 14:52:35 (GMT)
commitb80ef72b4d8e76bf5912d6d59a749a2d94bb49b2 (patch)
treed6bbd427e7381689305401b2c4296a2ed8a0b17d /Help/prop_tgt
parentfd2ffb42aa8f8927f2ca3bf0c183957da88da2c0 (diff)
parent7605e37aabae2678e5696a75e84aced2e84f9037 (diff)
downloadCMake-b80ef72b4d8e76bf5912d6d59a749a2d94bb49b2.zip
CMake-b80ef72b4d8e76bf5912d6d59a749a2d94bb49b2.tar.gz
CMake-b80ef72b4d8e76bf5912d6d59a749a2d94bb49b2.tar.bz2
Merge topic 'ninja-compile-link-pool'
7605e37 Ninja: job pool support for compiling and linking
Diffstat (limited to 'Help/prop_tgt')
-rw-r--r--Help/prop_tgt/JOB_POOL_COMPILE.rst17
-rw-r--r--Help/prop_tgt/JOB_POOL_LINK.rst16
2 files changed, 33 insertions, 0 deletions
diff --git a/Help/prop_tgt/JOB_POOL_COMPILE.rst b/Help/prop_tgt/JOB_POOL_COMPILE.rst
new file mode 100644
index 0000000..5d8e940
--- /dev/null
+++ b/Help/prop_tgt/JOB_POOL_COMPILE.rst
@@ -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`.
diff --git a/Help/prop_tgt/JOB_POOL_LINK.rst b/Help/prop_tgt/JOB_POOL_LINK.rst
new file mode 100644
index 0000000..716f53f
--- /dev/null
+++ b/Help/prop_tgt/JOB_POOL_LINK.rst
@@ -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`.