summaryrefslogtreecommitdiffstats
path: root/Source/cmInstallTargetGenerator.h
diff options
context:
space:
mode:
authorAlexander Neundorf <neundorf@kde.org>2007-06-19 15:11:06 (GMT)
committerAlexander Neundorf <neundorf@kde.org>2007-06-19 15:11:06 (GMT)
commit617602e9e9e0ff57a3ef35e62e17d4a764edf920 (patch)
treee256d55948ad4c4f175dae03b65d1bce46fca182 /Source/cmInstallTargetGenerator.h
parentf786f3ae3288c8a7d0156e62eba121e25ef321b9 (diff)
downloadCMake-617602e9e9e0ff57a3ef35e62e17d4a764edf920.zip
CMake-617602e9e9e0ff57a3ef35e62e17d4a764edf920.tar.gz
CMake-617602e9e9e0ff57a3ef35e62e17d4a764edf920.tar.bz2
STYLE: preparations for the INSTALL(EXPORT ...) generator
-move std::string Destination to cmInstallGenerator, since all (except the script one) have it and add a const accessor so it can be queried -use temporary variables in cmInstallCommand for the generators so they can be reused easier -some more const Alex
Diffstat (limited to 'Source/cmInstallTargetGenerator.h')
-rw-r--r--Source/cmInstallTargetGenerator.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/Source/cmInstallTargetGenerator.h b/Source/cmInstallTargetGenerator.h
index a81d0d3..9ebaa70 100644
--- a/Source/cmInstallTargetGenerator.h
+++ b/Source/cmInstallTargetGenerator.h
@@ -36,16 +36,19 @@ public:
);
virtual ~cmInstallTargetGenerator();
+ std::string GetInstallFilename(const char* config) const;
static std::string GetInstallFilename(cmTarget*target, const char* config,
bool implib, bool useSOName);
+ const std::vector<std::string>& GetConfigurations() const {return this->Configurations;}
+
protected:
virtual void GenerateScript(std::ostream& os);
void PrepareScriptReference(std::ostream& os, cmTarget* target,
const char* place, bool useConfigDir,
- bool useSOName);
+ bool implib, bool useSOName);
std::string GetScriptReference(cmTarget* target, const char* place,
- bool useSOName);
+ bool implib, bool useSOName);
void AddInstallNamePatchRule(std::ostream& os, const char* destination);
void AddStripRule(std::ostream& os,
cmTarget::TargetType type,
@@ -56,7 +59,6 @@ protected:
const std::string& quotedFullDestinationFilename);
cmTarget* Target;
- std::string Destination;
bool ImportLibrary;
std::string FilePermissions;
std::vector<std::string> Configurations;