summaryrefslogtreecommitdiff
path: root/Source/cmLocalGenerator.h
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2015-06-06 15:42:31 +0200
committerStephen Kelly <steveire@gmail.com>2015-06-06 15:44:17 +0200
commitf573bd22e4049746b53789fc0502cff8423dbe56 (patch)
treec165e4e8a08f46e61388cadf1071e0a0c82833ea /Source/cmLocalGenerator.h
parentccbc2259137fe61a770bb0b5538a20bf5e00bc8f (diff)
downloadcmake-f573bd22e4049746b53789fc0502cff8423dbe56.tar.gz
cmLocalGenerator: Add Feature API from cmMakefile.
Diffstat (limited to 'Source/cmLocalGenerator.h')
-rw-r--r--Source/cmLocalGenerator.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/Source/cmLocalGenerator.h b/Source/cmLocalGenerator.h
index 1359dd6ba7..3e3b4bc80d 100644
--- a/Source/cmLocalGenerator.h
+++ b/Source/cmLocalGenerator.h
@@ -179,6 +179,9 @@ public:
void AppendFeatureOptions(std::string& flags, const std::string& lang,
const char* feature);
+ const char* GetFeature(const std::string& feature,
+ const std::string& config);
+
/** \brief Get absolute path to dependency \a name
*
* Translate a dependency as given in CMake code to the name to