summaryrefslogtreecommitdiff
path: root/Help/prop_tgt/JOB_POOL_COMPILE.rst
diff options
context:
space:
mode:
Diffstat (limited to 'Help/prop_tgt/JOB_POOL_COMPILE.rst')
-rw-r--r--Help/prop_tgt/JOB_POOL_COMPILE.rst17
1 files changed, 17 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 000000000..5d8e94038
--- /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`.