summaryrefslogtreecommitdiffstats
path: root/Source/cmInstallCommand.h
diff options
context:
space:
mode:
authorAlex Neundorf <neundorf@kde.org>2012-05-13 13:44:37 (GMT)
committerAlex Neundorf <neundorf@kde.org>2012-05-14 20:19:12 (GMT)
commit7ced0732e875ab7cf4797ef33bd4b897bc41eb53 (patch)
tree8686f60bb78535f916ba5dfeec553cc9b2095cef /Source/cmInstallCommand.h
parentb6fba35411053e334072a1203493140c67f3d30a (diff)
downloadCMake-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/cmInstallCommand.h')
-rw-r--r--Source/cmInstallCommand.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/cmInstallCommand.h b/Source/cmInstallCommand.h
index ee22523..bf9fd9e 100644
--- a/Source/cmInstallCommand.h
+++ b/Source/cmInstallCommand.h
@@ -341,6 +341,8 @@ private:
const std::vector<std::string>& relFiles,
std::vector<std::string>& absFiles);
bool CheckCMP0006(bool& failure);
+
+ std::string DefaultComponentName;
};