summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/target_compile_features/no_target.cmake
Commit message (Collapse)AuthorAgeFilesLines
* Tests: Enable languages explicitly in RunCMake.target_compile_featuresBrad King2017-06-261-0/+1
| | | | | Enable C or CXX (or nothing) as needed in each test case. This will allow us to add test cases that do not enable CXX.
* Add target_compile_features command.Stephen Kelly2014-04-071-0/+2
This can be used to set the compiler features required by particular targets. An error is issued at CMake time if the compiler does not support the required feature. If a language dialect flag is required by the features used, that will be added automatically. Base the target_compile_features command on cmTargetPropCommandBase. This gives us 'free' handling of IMPORTED, ALIAS, INTERFACE, non-compilable and missing targets.