diff options
author | Alexander Neundorf <neundorf@kde.org> | 2007-06-19 15:11:06 (GMT) |
---|---|---|
committer | Alexander Neundorf <neundorf@kde.org> | 2007-06-19 15:11:06 (GMT) |
commit | 617602e9e9e0ff57a3ef35e62e17d4a764edf920 (patch) | |
tree | e256d55948ad4c4f175dae03b65d1bce46fca182 /Source/cmInstallCommand.h | |
parent | f786f3ae3288c8a7d0156e62eba121e25ef321b9 (diff) | |
download | CMake-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/cmInstallCommand.h')
-rw-r--r-- | Source/cmInstallCommand.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmInstallCommand.h b/Source/cmInstallCommand.h index d2d5732..7c7e2e7 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; }; |