summaryrefslogtreecommitdiff
path: root/Source/cmInstallTargetGenerator.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2014-06-24 10:55:20 -0400
committerBrad King <brad.king@kitware.com>2014-06-24 12:52:11 -0400
commitf0a0196250de349e97fe579165f7a9b580ed63e8 (patch)
treec675be1e9fe65cd8979b1cf6be1185edc60f78a0 /Source/cmInstallTargetGenerator.h
parent67815894cabcba32b6afbf3438dc45a00f1a7406 (diff)
downloadcmake-f0a0196250de349e97fe579165f7a9b580ed63e8.tar.gz
cmInstallTargetGenerator: Drop default constructor arguments
They are used only in cmLocalGenerator::GenerateTargetInstallRules. Move the defaults to a local helper where the context justifies their values.
Diffstat (limited to 'Source/cmInstallTargetGenerator.h')
-rw-r--r--Source/cmInstallTargetGenerator.h9
1 files changed, 4 insertions, 5 deletions
diff --git a/Source/cmInstallTargetGenerator.h b/Source/cmInstallTargetGenerator.h
index 0f21da79e9..d718dbc6e6 100644
--- a/Source/cmInstallTargetGenerator.h
+++ b/Source/cmInstallTargetGenerator.h
@@ -24,11 +24,10 @@ class cmInstallTargetGenerator: public cmInstallGenerator
public:
cmInstallTargetGenerator(
cmTarget& t, const char* dest, bool implib,
- const char* file_permissions = "",
- std::vector<std::string> const& configurations
- = std::vector<std::string>(),
- const char* component = "Unspecified",
- bool optional = false
+ const char* file_permissions,
+ std::vector<std::string> const& configurations,
+ const char* component,
+ bool optional
);
virtual ~cmInstallTargetGenerator();