mirror of
https://github.com/Kitware/CMake.git
synced 2026-02-25 00:59:19 -06:00
install: Implement new install(CODE|SCRIPT) option ALL_COMPONENTS
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.
This commit is contained in:
@@ -21,7 +21,7 @@ class cmInstallScriptGenerator : public cmInstallGenerator
|
||||
public:
|
||||
cmInstallScriptGenerator(
|
||||
std::string script, bool code, std::string const& component,
|
||||
bool exclude_from_all,
|
||||
bool exclude_from_all, bool all_components,
|
||||
cmListFileBacktrace backtrace = cmListFileBacktrace());
|
||||
~cmInstallScriptGenerator() override;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user