diff options
author | Brad King <brad.king@kitware.com> | 2009-10-21 17:09:55 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2009-10-21 17:09:55 (GMT) |
commit | 3c326476ee63b91a2a240641da7e405d3e770bb3 (patch) | |
tree | 1e66d40d9af36a089104c5094009c48e87cf24c5 /Source/cmInstallTargetGenerator.h | |
parent | e4897a78b9a325537117a57243c65d82774694fc (diff) | |
download | CMake-3c326476ee63b91a2a240641da7e405d3e770bb3.zip CMake-3c326476ee63b91a2a240641da7e405d3e770bb3.tar.gz CMake-3c326476ee63b91a2a240641da7e405d3e770bb3.tar.bz2 |
Simplify 'strip' and 'ranlib' install tweak code
The cmInstallTargetGenerator methods AddStripRule and AddRanlibRule do
not need the target type argument. They can simply use the type of the
target for which the generator instance was created.
Diffstat (limited to 'Source/cmInstallTargetGenerator.h')
-rw-r--r-- | Source/cmInstallTargetGenerator.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/Source/cmInstallTargetGenerator.h b/Source/cmInstallTargetGenerator.h index 978c302..b62853a 100644 --- a/Source/cmInstallTargetGenerator.h +++ b/Source/cmInstallTargetGenerator.h @@ -74,10 +74,8 @@ protected: std::string const& toDestDirPath); void AddStripRule(std::ostream& os, Indent const& indent, - cmTarget::TargetType type, const std::string& toDestDirPath); void AddRanlibRule(std::ostream& os, Indent const& indent, - cmTarget::TargetType type, const std::string& toDestDirPath); cmTarget* Target; |