summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/TargetPropertyGeneratorExpressions/RunCMakeTest.cmake
Commit message (Collapse)AuthorAgeFilesLines
* Tests: Speed up RunCMake.TargetPropertyGeneratorExpressionsBrad King2018-01-251-14/+2
| | | | Consolidate similar test cases.
* Genex: Fix stack overflow in transitive property evaluation.Stephen Kelly2014-07-011-0/+6
| | | | | | | | | | | | | | | | | | | | Commit v2.8.11~156^2~2 (Expand includes and defines transitively in 'external' genexes., 2013-02-13) introduced a recursive loop and a stack overflow during evaluation of a link implementation which depends on a transitive property, such as add_library(empty1 ...) add_library(empty2 ...) target_link_libraries(empty1 PRIVATE $<$<STREQUAL:$<TARGET_PROPERTY:INCLUDE_DIRECTORIES>,/foo/bar>:empty2> ) There is no use-case for code like that currently, but it should not cause a stack overflow. Avoid the recursion by reporting an error early if a case like this is found.
* Revert "Add the $<LINKED:...> generator expression."Stephen Kelly2013-02-131-1/+0
| | | | | | | | | This reverts commit 0b92602b816e2584db3781b120a1e5200da72ada. Conflicts: Source/cmGeneratorExpressionEvaluator.cxx Tests/CMakeCommands/target_compile_definitions/CMakeLists.txt Tests/CMakeCommands/target_include_directories/CMakeLists.txt
* Revert "Don't allow utility or global targets in the LINKED expression."Stephen Kelly2013-02-131-1/+0
| | | | This reverts commit 9712362b4580fb92394ecf8ff57be186571f4319.
* Don't allow utility or global targets in the LINKED expression.Stephen Kelly2013-02-081-0/+1
| | | | | | The LINKED expression is exclusively for handling INTERFACE content and it does not make sense for utility targets to have INTERFACE content.
* Add the $<LINKED:...> generator expression.Stephen Kelly2013-01-311-0/+1
| | | | | | This is both a short form of using a TARGET_DEFINED expression together with a TARGET_PROPERTY definition, and a way to strip non-target content from interface properties when exporting.
* GenEx: Validate target and property names.Stephen Kelly2012-10-091-0/+8
| | | | They must be non-empty, and match a restrictive regexp.
* GenEx: Report actual target name not found, not "0" each time.Stephen Kelly2012-10-091-0/+1
|
* Process generator expressions in the COMPILE_DEFINITIONS target property.Stephen Kelly2012-09-281-0/+2
|
* Process generator expressions in the INCLUDE_DIRECTORIES property.Stephen Kelly2012-09-281-0/+6
This use of generator expressions, like all others to come which operate on target properties, must initalize the dag checker.