summaryrefslogtreecommitdiffstats
path: root/Source/cmInstallTargetGenerator.h
diff options
context:
space:
mode:
authorAlexander Neundorf <neundorf@kde.org>2007-06-15 15:12:07 (GMT)
committerAlexander Neundorf <neundorf@kde.org>2007-06-15 15:12:07 (GMT)
commit69d362846161e14002377a66e7505219b2b6af27 (patch)
treebfd2b871ed84bf80c09ae4675890481f271198f4 /Source/cmInstallTargetGenerator.h
parentfe45c1966677ef8807f36d586159e7e74934b1db (diff)
downloadCMake-69d362846161e14002377a66e7505219b2b6af27.zip
CMake-69d362846161e14002377a66e7505219b2b6af27.tar.gz
CMake-69d362846161e14002377a66e7505219b2b6af27.tar.bz2
BUG: don't run strip on OPTIONAL install targets if the file doesn't exist
Alex
Diffstat (limited to 'Source/cmInstallTargetGenerator.h')
-rw-r--r--Source/cmInstallTargetGenerator.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/Source/cmInstallTargetGenerator.h b/Source/cmInstallTargetGenerator.h
index c7dcec5..6a84387 100644
--- a/Source/cmInstallTargetGenerator.h
+++ b/Source/cmInstallTargetGenerator.h
@@ -44,9 +44,12 @@ protected:
std::string GetScriptReference(cmTarget* target, const char* place,
bool useSOName);
void AddInstallNamePatchRule(std::ostream& os, const char* destination);
- void AddStripRule(std::ostream& os, const std::string& destinationFilename);
- void AddRanlibRule(std::ostream& os, cmTarget::TargetType type,
- const std::string& destinationFilename);
+ void AddStripRule(std::ostream& os,
+ const std::string& quotedFullDestinationFilename,
+ bool optional);
+ void AddRanlibRule(std::ostream& os,
+ cmTarget::TargetType type,
+ const std::string& quotedFullDestinationFilename);
cmTarget* Target;
std::string Destination;