diff options
author | Brad King <brad.king@kitware.com> | 2013-11-26 14:52:35 (GMT) |
---|---|---|
committer | CMake Topic Stage <kwrobot@kitware.com> | 2013-11-26 14:52:35 (GMT) |
commit | b80ef72b4d8e76bf5912d6d59a749a2d94bb49b2 (patch) | |
tree | d6bbd427e7381689305401b2c4296a2ed8a0b17d /Help/prop_tgt | |
parent | fd2ffb42aa8f8927f2ca3bf0c183957da88da2c0 (diff) | |
parent | 7605e37aabae2678e5696a75e84aced2e84f9037 (diff) | |
download | CMake-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.rst | 17 | ||||
-rw-r--r-- | Help/prop_tgt/JOB_POOL_LINK.rst | 16 |
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`. |