mirror of
https://github.com/Kitware/CMake.git
synced 2025-10-14 02:08:27 +08:00

In a per-component installation the generated installation scripts are invoked once for each component. Per default custom installation script code added by install(CODE|SCRIPT) only runs for one specific component in this context. The new ALL_COMPONENTS option allows custom script code to be run once for each component being installed.
8 lines
250 B
ReStructuredText
8 lines
250 B
ReStructuredText
install-script-all-components
|
|
-----------------------------
|
|
|
|
* The :command:`install(SCRIPT|CODE)` command
|
|
supports a new option ``ALL_COMPONENTS`` which allows
|
|
the corresponding code to run for every component of
|
|
a per component installation.
|