summaryrefslogtreecommitdiffstats
path: root/Source/cmInstallCommand.cxx
diff options
context:
space:
mode:
authorAlexander Neundorf <neundorf@kde.org>2007-08-01 21:10:22 (GMT)
committerAlexander Neundorf <neundorf@kde.org>2007-08-01 21:10:22 (GMT)
commit8046390f1e01cafbaa8aadba238928d874ce91bf (patch)
tree27e651ffee90b9b79537be24ec6a14c7d29cb4f5 /Source/cmInstallCommand.cxx
parent64f40a2816de1dcb2e064d961fc0ac4e3c52d551 (diff)
downloadCMake-8046390f1e01cafbaa8aadba238928d874ce91bf.zip
CMake-8046390f1e01cafbaa8aadba238928d874ce91bf.tar.gz
CMake-8046390f1e01cafbaa8aadba238928d874ce91bf.tar.bz2
ENH: if no COMPONENT is specified, make this install item part of the
"Unspecified" component -> if no components are used at all, no change in behaviour, if components are used completely, no change in behaviour, since this default will be overridden everywhere, if components where used partly, it is now possible to install only the unspecified items (e.g. everything which wasn't marked as "Development") Alex Alex
Diffstat (limited to 'Source/cmInstallCommand.cxx')
-rw-r--r--Source/cmInstallCommand.cxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/Source/cmInstallCommand.cxx b/Source/cmInstallCommand.cxx
index 9883698..5de168b 100644
--- a/Source/cmInstallCommand.cxx
+++ b/Source/cmInstallCommand.cxx
@@ -151,9 +151,9 @@ bool cmInstallCommand::HandleTargetsMode(std::vector<std::string> const& args)
std::string archive_permissions;
std::string library_permissions;
std::string runtime_permissions;
- std::string archive_component;
- std::string library_component;
- std::string runtime_component;
+ std::string archive_component = "Unspecified";
+ std::string library_component = "Unspecified";
+ std::string runtime_component = "Unspecified";
std::string exportName;
std::vector<std::string> archive_configurations;
std::vector<std::string> library_configurations;
@@ -635,7 +635,7 @@ bool cmInstallCommand::HandleFilesMode(std::vector<std::string> const& args)
std::string rename;
std::string permissions;
std::vector<std::string> configurations;
- std::string component;
+ std::string component = "Unspecified";
bool optional = false;
for(unsigned int i=1; i < args.size(); ++i)
{
@@ -824,7 +824,7 @@ cmInstallCommand::HandleDirectoryMode(std::vector<std::string> const& args)
std::string permissions_file;
std::string permissions_dir;
std::vector<std::string> configurations;
- std::string component;
+ std::string component = "Unspecified";
std::string literal_args;
for(unsigned int i=1; i < args.size(); ++i)
{