summaryrefslogtreecommitdiffstats
path: root/Source/cmLocalGenerator.h
diff options
context:
space:
mode:
authorGeoff Viola <geoffrey.viola@asirobots.com>2015-03-30 02:56:21 (GMT)
committerBrad King <brad.king@kitware.com>2015-04-09 14:38:31 (GMT)
commit051d8be17f1b36d52041bfe61856b926e36dfb8c (patch)
tree65f839dfa90086c5396ba78cb7b94087e3478bc1 /Source/cmLocalGenerator.h
parentf3be6c1b9b3df6f1121e578807f06c29a003c58d (diff)
downloadCMake-051d8be17f1b36d52041bfe61856b926e36dfb8c.zip
CMake-051d8be17f1b36d52041bfe61856b926e36dfb8c.tar.gz
CMake-051d8be17f1b36d52041bfe61856b926e36dfb8c.tar.bz2
cmLocalGenerator: Constify some cmTarget and cmGeneratorTarget arguments
Diffstat (limited to 'Source/cmLocalGenerator.h')
-rw-r--r--Source/cmLocalGenerator.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/Source/cmLocalGenerator.h b/Source/cmLocalGenerator.h
index 6cdee42..a005f5f 100644
--- a/Source/cmLocalGenerator.h
+++ b/Source/cmLocalGenerator.h
@@ -138,18 +138,19 @@ public:
std::vector<cmLocalGenerator*>& GetChildren() { return this->Children; }
- void AddArchitectureFlags(std::string& flags, cmGeneratorTarget* target,
+ void AddArchitectureFlags(std::string& flags,
+ cmGeneratorTarget const* target,
const std::string&lang, const std::string& config);
void AddLanguageFlags(std::string& flags, const std::string& lang,
const std::string& config);
- void AddCMP0018Flags(std::string &flags, cmTarget* target,
+ void AddCMP0018Flags(std::string &flags, cmTarget const* target,
std::string const& lang, const std::string& config);
- void AddVisibilityPresetFlags(std::string &flags, cmTarget* target,
+ void AddVisibilityPresetFlags(std::string &flags, cmTarget const* target,
const std::string& lang);
void AddConfigVariableFlags(std::string& flags, const std::string& var,
const std::string& config);
- void AddCompilerRequirementFlag(std::string &flags, cmTarget* target,
+ void AddCompilerRequirementFlag(std::string &flags, cmTarget const* target,
const std::string& lang);
///! Append flags to a string.
virtual void AppendFlags(std::string& flags, const std::string& newFlags);