diff options
author | Alex Neundorf <neundorf@kde.org> | 2012-05-13 13:44:37 (GMT) |
---|---|---|
committer | Alex Neundorf <neundorf@kde.org> | 2012-05-14 20:19:12 (GMT) |
commit | 7ced0732e875ab7cf4797ef33bd4b897bc41eb53 (patch) | |
tree | 8686f60bb78535f916ba5dfeec553cc9b2095cef /Source/cmInstallCommandArguments.h | |
parent | b6fba35411053e334072a1203493140c67f3d30a (diff) | |
download | CMake-7ced0732e875ab7cf4797ef33bd4b897bc41eb53.zip CMake-7ced0732e875ab7cf4797ef33bd4b897bc41eb53.tar.gz CMake-7ced0732e875ab7cf4797ef33bd4b897bc41eb53.tar.bz2 |
make default install component name configurable
Until now an unnamed component was always named "Unspecified".
Now this name is taken from the new cmake variable CMAKE_INSTALL_DEFAULT_COMPONENT_NAME,
which is initialized to "Unspecified". But it can now be set to something
project-specific, per directory
Alex
Diffstat (limited to 'Source/cmInstallCommandArguments.h')
-rw-r--r-- | Source/cmInstallCommandArguments.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/cmInstallCommandArguments.h b/Source/cmInstallCommandArguments.h index 53f13c0..321454a 100644 --- a/Source/cmInstallCommandArguments.h +++ b/Source/cmInstallCommandArguments.h @@ -19,7 +19,7 @@ class cmInstallCommandArguments { public: - cmInstallCommandArguments(); + cmInstallCommandArguments(const std::string& defaultComponent); void SetGenericArguments(cmInstallCommandArguments* args) {this->GenericArguments = args;} void Parse(const std::vector<std::string>* args, @@ -45,6 +45,7 @@ class cmInstallCommandArguments cmCommandArgumentsHelper Parser; cmCommandArgumentGroup ArgumentGroup; private: + cmInstallCommandArguments(); // disabled cmCAString Destination; cmCAString Component; cmCAString Rename; |