summaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2015-06-06 10:57:19 (GMT)
committerStephen Kelly <steveire@gmail.com>2015-06-21 19:14:09 (GMT)
commit820986edfff97779bb0c84fd9da3b284921c8ae4 (patch)
tree2be0b24fcba8b90985bc19d10914b07dc7d0eaee /Source
parentb3e2e332eb9c2a7d73ec872664cee896248c6c38 (diff)
downloadCMake-820986edfff97779bb0c84fd9da3b284921c8ae4.zip
CMake-820986edfff97779bb0c84fd9da3b284921c8ae4.tar.gz
CMake-820986edfff97779bb0c84fd9da3b284921c8ae4.tar.bz2
cmLocalGenerator: Constify GetIncludeDirectories method.
Diffstat (limited to 'Source')
-rw-r--r--Source/cmLocalGenerator.cxx2
-rw-r--r--Source/cmLocalGenerator.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmLocalGenerator.cxx b/Source/cmLocalGenerator.cxx
index 119cba9..6f98ee2 100644
--- a/Source/cmLocalGenerator.cxx
+++ b/Source/cmLocalGenerator.cxx
@@ -1341,7 +1341,7 @@ void cmLocalGenerator::GetIncludeDirectories(std::vector<std::string>& dirs,
const std::string& lang,
const std::string& config,
bool stripImplicitInclDirs
- )
+ ) const
{
// Need to decide whether to automatically include the source and
// binary directories at the beginning of the include path.
diff --git a/Source/cmLocalGenerator.h b/Source/cmLocalGenerator.h
index a3f9588..98f4d3a 100644
--- a/Source/cmLocalGenerator.h
+++ b/Source/cmLocalGenerator.h
@@ -183,7 +183,7 @@ public:
cmGeneratorTarget* target,
const std::string& lang = "C",
const std::string& config = "",
- bool stripImplicitInclDirs = true);
+ bool stripImplicitInclDirs = true) const;
void AddCompileOptions(std::string& flags, cmTarget* target,
const std::string& lang, const std::string& config);
void AddCompileDefinitions(std::set<std::string>& defines,