summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/GeneratorExpression/TARGET_GENEX_EVAL-recursion1.cmake
blob: b75d2117579472110df211feacfb5f9b81bb06a3 (plain)
1
2
3
4
5
6
7
8
9

enable_language(C)

add_library (recursion SHARED empty.c)
set_property (TARGET recursion PROPERTY CUSTOM_PROPERTY "$<TARGET_GENEX_EVAL:recursion,$<TARGET_PROPERTY:CUSTOM_PROPERTY>>")

add_custom_target (drive
  COMMAND echo "$<TARGET_GENEX_EVAL:recursion,$<TARGET_PROPERTY:recursion,CUSTOM_PROPERTY>>"
  DEPENDS recursion)