summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/CompileFeatures/NonValidTarget2.cmake
Commit message (Collapse)AuthorAgeFilesLines
* Tests: Fix RunCMake.CompileFeatures test NonValidTarget2 caseBrad King2014-12-221-0/+2
| | | | | | | Mark the generated source file with the GENERATED property explicitly since it is not marked automatically as the output of any custom command. Mark both the 0 and 1 variants so it works no matter the outcome of the generator expression.
* Features: Add COMPILE_FEATURES generator expression.Stephen Kelly2014-05-211-0/+8
Allow setting build properties based on the features available for a target. The availability of features is determined at generate-time by evaluating the link implementation. Ensure that the <LANG>_STANDARD determined while evaluating COMPILE_FEATURES in the link implementation is not lower than that provided by the INTERFACE of the link implementation. This is similar to handling of transitive properties such as POSITION_INDEPENDENT_CODE.