summaryrefslogtreecommitdiffstats
path: root/Source/cmLocalGenerator.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2016-06-10 13:23:14 (GMT)
committerBrad King <brad.king@kitware.com>2016-06-10 13:24:11 (GMT)
commit853b1bb4ba176e886e3682a2475f1de1932ee890 (patch)
treea7886bb44dd82937cb56fe755c9d1fce4c09c6b3 /Source/cmLocalGenerator.h
parent98aafb2ad64daa0617b3a71ec61f692d5aa205ce (diff)
downloadCMake-853b1bb4ba176e886e3682a2475f1de1932ee890.zip
CMake-853b1bb4ba176e886e3682a2475f1de1932ee890.tar.gz
CMake-853b1bb4ba176e886e3682a2475f1de1932ee890.tar.bz2
cmLocalGenerator: Constify AppendDefines and AddCompileDefinitions
Diffstat (limited to 'Source/cmLocalGenerator.h')
-rw-r--r--Source/cmLocalGenerator.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/Source/cmLocalGenerator.h b/Source/cmLocalGenerator.h
index ac2ebce..ad77c1f 100644
--- a/Source/cmLocalGenerator.h
+++ b/Source/cmLocalGenerator.h
@@ -138,13 +138,15 @@ public:
* Encode a list of preprocessor definitions for the compiler
* command line.
*/
- void AppendDefines(std::set<std::string>& defines, const char* defines_list);
- void AppendDefines(std::set<std::string>& defines, std::string defines_list)
+ void AppendDefines(std::set<std::string>& defines,
+ const char* defines_list) const;
+ void AppendDefines(std::set<std::string>& defines,
+ std::string defines_list) const
{
this->AppendDefines(defines, defines_list.c_str());
}
void AppendDefines(std::set<std::string>& defines,
- const std::vector<std::string>& defines_vec);
+ const std::vector<std::string>& defines_vec) const;
/**
* Join a set of defines into a definesString with a space separator.
@@ -200,7 +202,7 @@ public:
void AddCompileDefinitions(std::set<std::string>& defines,
cmGeneratorTarget const* target,
const std::string& config,
- const std::string& lang);
+ const std::string& lang) const;
std::string GetProjectName() const;