summaryrefslogtreecommitdiff
path: root/Source/cmInstallCommand.h
diff options
context:
space:
mode:
authorAlexander Neundorf <neundorf@kde.org>2007-06-19 11:11:06 -0400
committerAlexander Neundorf <neundorf@kde.org>2007-06-19 11:11:06 -0400
commit617602e9e9e0ff57a3ef35e62e17d4a764edf920 (patch)
treee256d55948ad4c4f175dae03b65d1bce46fca182 /Source/cmInstallCommand.h
parentf786f3ae3288c8a7d0156e62eba121e25ef321b9 (diff)
downloadcmake-617602e9e9e0ff57a3ef35e62e17d4a764edf920.tar.gz
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/cmInstallCommand.h')
-rw-r--r--Source/cmInstallCommand.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmInstallCommand.h b/Source/cmInstallCommand.h
index d2d5732b00..7c7e2e7001 100644
--- a/Source/cmInstallCommand.h
+++ b/Source/cmInstallCommand.h
@@ -248,8 +248,8 @@ private:
bool HandleTargetsMode(std::vector<std::string> const& args);
bool HandleFilesMode(std::vector<std::string> const& args);
bool HandleDirectoryMode(std::vector<std::string> const& args);
- void ComputeDestination(const char* destination, std::string& dest);
- bool CheckPermissions(std::string const& arg, std::string& permissions);
+ void ComputeDestination(const char* destination, std::string& dest) const;
+ bool CheckPermissions(std::string const& arg, std::string& permissions)const;
};