diff options
author | Brad King <brad.king@kitware.com> | 2024-05-24 14:29:43 (GMT) |
---|---|---|
committer | Kitware Robot <kwrobot@kitware.com> | 2024-05-24 14:29:57 (GMT) |
commit | 1d519cf7967c41f33e485155f9f69109235f080c (patch) | |
tree | ebd7eef7144af159708548ccff3cc03e8689c5c2 /Help/prop_gbl | |
parent | dfe0a107773cd15093c2546332016595005bd777 (diff) | |
parent | 0e5250e63c5c82ff0c8b52ade9c2f84fbe251152 (diff) | |
download | CMake-1d519cf7967c41f33e485155f9f69109235f080c.zip CMake-1d519cf7967c41f33e485155f9f69109235f080c.tar.gz CMake-1d519cf7967c41f33e485155f9f69109235f080c.tar.bz2 |
Merge topic 'ninja-parallel'
0e5250e63c Ninja: Add option for parallel install
daeb8fffa2 Help: Add Builtin Targets section to Ninja help
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !9505
Diffstat (limited to 'Help/prop_gbl')
-rw-r--r-- | Help/prop_gbl/INSTALL_PARALLEL.rst | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/Help/prop_gbl/INSTALL_PARALLEL.rst b/Help/prop_gbl/INSTALL_PARALLEL.rst new file mode 100644 index 0000000..7b6632e --- /dev/null +++ b/Help/prop_gbl/INSTALL_PARALLEL.rst @@ -0,0 +1,23 @@ +INSTALL_PARALLEL +---------------- + +.. versionadded:: 3.30 + +Enables parallel installation option for the Ninja generator. + +When this property is ``ON``, ``install/local`` targets have the +console pool disabled, allowing them to run concurrently. + +This property also provides the target ``install/parallel``, which has an +explicit dependency on the ``install/local`` target for each subdirectory, +recursing down the project. + +Setting this property has no affect on the behavior of ``cmake --install``. +The install must be invoked by building the ``install/parallel`` target +directly. + +Calls to :command:`install(CODE)` or :command:`install(SCRIPT)` might depend +on actions performed by an earlier :command:`install` command in a different +directory such as files installed or variable settings. If the project has +such order-dependent installation logic, parallel installation should be +not be enabled, in order to prevent possible race conditions. |