diff options
author | Stephen Kelly <steveire@gmail.com> | 2014-04-02 13:57:15 (GMT) |
---|---|---|
committer | Stephen Kelly <steveire@gmail.com> | 2014-04-07 14:52:22 (GMT) |
commit | 03355d6b5b382020e7dafb28605e6d8d2f20de3c (patch) | |
tree | 6ab7c7c46b02d36f28bd1309063e41b598b0e3dd /Source/cmMakefile.h | |
parent | faeddf64f21b592a5663803ca8accdf9f4b73c29 (diff) | |
download | CMake-03355d6b5b382020e7dafb28605e6d8d2f20de3c.zip CMake-03355d6b5b382020e7dafb28605e6d8d2f20de3c.tar.gz CMake-03355d6b5b382020e7dafb28605e6d8d2f20de3c.tar.bz2 |
cmTarget: Add COMPILE_FEATURES target property.
Use the contents of it to upgrade the CXX_STANDARD target property,
if appropriate. This will have the effect of adding the -std=c++11
compile flag or other language specification on GNU when that is
needed for the feature.
Diffstat (limited to 'Source/cmMakefile.h')
-rw-r--r-- | Source/cmMakefile.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Source/cmMakefile.h b/Source/cmMakefile.h index 7695d6e..3bccb63 100644 --- a/Source/cmMakefile.h +++ b/Source/cmMakefile.h @@ -885,6 +885,10 @@ public: bool PolicyOptionalWarningEnabled(std::string const& var); + bool AddRequiredTargetFeature(cmTarget *target, + const std::string& feature, + std::string *error = 0) const; + protected: // add link libraries and directories to the target void AddGlobalLinkInformation(const std::string& name, cmTarget& target); |