summaryrefslogtreecommitdiff
path: root/Source/cmMakefile.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2009-10-02 13:52:01 -0400
committerBrad King <brad.king@kitware.com>2009-10-02 13:52:01 -0400
commit1e482435912f44e05b5e67f19b1bc14ff58a3169 (patch)
treec317a934a8bfba0b942f2e0041c8e2cd8de50040 /Source/cmMakefile.h
parent57df2abca804dd8e98d000441fc0035eef9d4829 (diff)
downloadcmake-1e482435912f44e05b5e67f19b1bc14ff58a3169.tar.gz
Introduce "build feature" lookup framework
This creates cmTarget::GetFeature and cmMakefile::GetFeature methods to query "build feature" properties. These methods handle local-to-global scope and per-configuration property lookup. Specific build features will be defined later.
Diffstat (limited to 'Source/cmMakefile.h')
-rw-r--r--Source/cmMakefile.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/cmMakefile.h b/Source/cmMakefile.h
index 485d9e24d9..cb180ba065 100644
--- a/Source/cmMakefile.h
+++ b/Source/cmMakefile.h
@@ -793,6 +793,8 @@ public:
const char *GetProperty(const char *prop, cmProperty::ScopeType scope);
bool GetPropertyAsBool(const char *prop);
+ const char* GetFeature(const char* feature, const char* config);
+
// Get the properties
cmPropertyMap &GetProperties() { return this->Properties; };