summaryrefslogtreecommitdiffstats
path: root/Source/cmMakefile.h
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2014-05-15 09:54:24 (GMT)
committerStephen Kelly <steveire@gmail.com>2014-05-20 17:01:27 (GMT)
commitaa8a6fcee8c67b0516efcd745fb1d7a66d249096 (patch)
tree6187afdf3d8690b39790bb2d03a7600bfa3ff4a3 /Source/cmMakefile.h
parentb6dedf034e33dfafcb804c01691a080701ee680a (diff)
downloadCMake-aa8a6fcee8c67b0516efcd745fb1d7a66d249096.zip
CMake-aa8a6fcee8c67b0516efcd745fb1d7a66d249096.tar.gz
CMake-aa8a6fcee8c67b0516efcd745fb1d7a66d249096.tar.bz2
cmMakefile: Add methods for checking availability of a feature.
Diffstat (limited to 'Source/cmMakefile.h')
-rw-r--r--Source/cmMakefile.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/Source/cmMakefile.h b/Source/cmMakefile.h
index 40e44a5..b2c3c4d 100644
--- a/Source/cmMakefile.h
+++ b/Source/cmMakefile.h
@@ -895,6 +895,9 @@ public:
const char* CompileFeaturesAvailable(const std::string& lang,
std::string *error) const;
+ bool HaveFeatureAvailable(cmTarget const* target, std::string const& lang,
+ const std::string& feature) const;
+
void ClearMatches();
void StoreMatches(cmsys::RegularExpression& re);
@@ -1115,6 +1118,11 @@ private:
bool& needC99, bool& needC11) const;
void CheckNeededCxxLanguage(const std::string& feature, bool& needCxx98,
bool& needCxx11) const;
+
+ bool HaveCFeatureAvailable(cmTarget const* target,
+ const std::string& feature) const;
+ bool HaveCxxFeatureAvailable(cmTarget const* target,
+ const std::string& feature) const;
};
//----------------------------------------------------------------------------