summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/TargetPropertyGeneratorExpressions/empty.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Genex: Fix stack overflow in transitive property evaluation.Stephen Kelly2014-07-011-0/+7
| | | | | | | | | | | | | | | | | | | | 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 "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.