1
0
mirror of https://github.com/Kitware/CMake.git synced 2025-10-14 02:08:27 +08:00
Files
CMake/Help/prop_sf/JOB_POOL_COMPILE.rst
Brad King 5e9722866a Help: Update Sphinx versionadded directives for 4.2 release
Run the script:

    Utilities/Sphinx/update_versions.py --since v4.1.0 --overwrite
2025-10-09 09:38:20 -04:00

22 lines
516 B
ReStructuredText

JOB_POOL_COMPILE
----------------
.. versionadded:: 4.2
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.
This allows to override the :prop_tgt:`JOB_POOL_COMPILE`
value for specific source files within a same target.
For instance:
.. code-block:: cmake
set_property(SOURCE main.cc PROPERTY JOB_POOL_COMPILE two_jobs)
This property is undefined by default.