diff options
author | Stephen Kelly <steveire@gmail.com> | 2013-10-21 23:40:47 (GMT) |
---|---|---|
committer | Stephen Kelly <steveire@gmail.com> | 2014-04-07 16:11:18 (GMT) |
commit | 5412deded1073e9a217c771ae24e8c5a8a581a96 (patch) | |
tree | 2ab7c8215edfb7083425cb241a5310ed50ce3862 /Source/cmLocalGenerator.cxx | |
parent | baff44345cff8e635766e020d316da514616c16e (diff) | |
download | CMake-5412deded1073e9a217c771ae24e8c5a8a581a96.zip CMake-5412deded1073e9a217c771ae24e8c5a8a581a96.tar.gz CMake-5412deded1073e9a217c771ae24e8c5a8a581a96.tar.bz2 |
cmTarget: Transitively evaluate compiler features.
Extend the interface of the target_compile_features command with
PUBLIC and INTERFACE keywords. Populate the INTERFACE_COMPILER_FEATURES
target property if they are set. Consume the INTERFACE_COMPILER_FEATURES
target property from linked dependent targets to determine the final
required compiler features and the compile flag, if needed.
Use the same pattern of origin-debugging which is used for other
build properties.
Diffstat (limited to 'Source/cmLocalGenerator.cxx')
-rw-r--r-- | Source/cmLocalGenerator.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmLocalGenerator.cxx b/Source/cmLocalGenerator.cxx index f581806..528b1dc 100644 --- a/Source/cmLocalGenerator.cxx +++ b/Source/cmLocalGenerator.cxx @@ -1460,7 +1460,7 @@ void cmLocalGenerator::AddCompileOptions( } } std::vector<std::string> features; - target->GetCompileFeatures(features); + target->GetCompileFeatures(features, config); for(std::vector<std::string>::const_iterator it = features.begin(); it != features.end(); ++it) { |