diff options
author | Stephen Kelly <steveire@gmail.com> | 2014-05-15 09:54:24 (GMT) |
---|---|---|
committer | Stephen Kelly <steveire@gmail.com> | 2014-05-20 17:01:27 (GMT) |
commit | aa8a6fcee8c67b0516efcd745fb1d7a66d249096 (patch) | |
tree | 6187afdf3d8690b39790bb2d03a7600bfa3ff4a3 /Source/cmMakefile.h | |
parent | b6dedf034e33dfafcb804c01691a080701ee680a (diff) | |
download | CMake-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.h | 8 |
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; }; //---------------------------------------------------------------------------- |