summaryrefslogtreecommitdiffstats
path: root/Source/cmMakefile.h
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2014-01-22 13:38:10 (GMT)
committerStephen Kelly <steveire@gmail.com>2014-01-22 14:16:40 (GMT)
commitb33ea5783a6bc1f2adafcdbd2d2907b209a633d9 (patch)
tree449de03e684d20e060e6c533353487742e89b839 /Source/cmMakefile.h
parent0bd4157886e4aa28c7c77d1e2b8c92404ace2fc9 (diff)
downloadCMake-b33ea5783a6bc1f2adafcdbd2d2907b209a633d9.zip
CMake-b33ea5783a6bc1f2adafcdbd2d2907b209a633d9.tar.gz
CMake-b33ea5783a6bc1f2adafcdbd2d2907b209a633d9.tar.bz2
cmMakefile: Make GetProperty const.
Diffstat (limited to 'Source/cmMakefile.h')
-rw-r--r--Source/cmMakefile.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/Source/cmMakefile.h b/Source/cmMakefile.h
index dadf7ff..d6a845f 100644
--- a/Source/cmMakefile.h
+++ b/Source/cmMakefile.h
@@ -142,7 +142,7 @@ public:
void SetLocalGenerator(cmLocalGenerator*);
///! Get the current makefile generator.
- cmLocalGenerator* GetLocalGenerator()
+ cmLocalGenerator* GetLocalGenerator() const
{ return this->LocalGenerator;}
/**
@@ -492,7 +492,7 @@ public:
{
this->IncludeFileRegularExpression = regex;
}
- const char* GetIncludeRegularExpression()
+ const char* GetIncludeRegularExpression() const
{
return this->IncludeFileRegularExpression.c_str();
}
@@ -803,7 +803,7 @@ public:
/**
* Get a list of macros as a ; separated string
*/
- void GetListOfMacros(std::string& macros);
+ void GetListOfMacros(std::string& macros) const;
/**
* Return a location of a file in cmake or custom modules directory
@@ -813,10 +813,10 @@ public:
///! Set/Get a property of this directory
void SetProperty(const char *prop, const char *value);
void AppendProperty(const char *prop, const char *value,bool asString=false);
- const char *GetProperty(const char *prop);
- const char *GetPropertyOrDefinition(const char *prop);
- const char *GetProperty(const char *prop, cmProperty::ScopeType scope);
- bool GetPropertyAsBool(const char *prop);
+ const char *GetProperty(const char *prop) const;
+ const char *GetPropertyOrDefinition(const char *prop) const;
+ const char *GetProperty(const char *prop, cmProperty::ScopeType scope) const;
+ bool GetPropertyAsBool(const char *prop) const;
const char* GetFeature(const char* feature, const char* config);