summaryrefslogtreecommitdiff
path: root/Help/prop_tgt/JOB_POOL_LINK.rst
diff options
context:
space:
mode:
authorPeter Kümmel <syntheticpp@gmx.net>2013-11-23 10:49:36 +0100
committerPeter Kümmel <syntheticpp@gmx.net>2013-11-25 22:23:24 +0100
commit7605e37aabae2678e5696a75e84aced2e84f9037 (patch)
treedced8cd0e0baf12da23f2e2221abca2483fba313 /Help/prop_tgt/JOB_POOL_LINK.rst
parentda6b86f4f031b189768dc474721145a1b99f71ea (diff)
downloadcmake-7605e37aabae2678e5696a75e84aced2e84f9037.tar.gz
Ninja: job pool support for compiling and linking
Could be tested by setting the environment variable NINJA_STATUS=[%r]
Diffstat (limited to 'Help/prop_tgt/JOB_POOL_LINK.rst')
-rw-r--r--Help/prop_tgt/JOB_POOL_LINK.rst16
1 files changed, 16 insertions, 0 deletions
diff --git a/Help/prop_tgt/JOB_POOL_LINK.rst b/Help/prop_tgt/JOB_POOL_LINK.rst
new file mode 100644
index 0000000000..716f53f71a
--- /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`.