diff options
author | Marc Chevrier <marc.chevrier@sap.com> | 2018-04-13 14:16:32 (GMT) |
---|---|---|
committer | Marc Chevrier <marc.chevrier@sap.com> | 2018-04-23 09:13:52 (GMT) |
commit | 4d15046eddcd6326fd7229adcb3bdb93717f3e06 (patch) | |
tree | 1703b6f342f434aea4c038587538f77dbeb806e6 /Tests/RunCMake/GeneratorExpression/TARGET_GENEX_EVAL-recursion1.cmake | |
parent | 1f372ac4e52ac7de65d3fc855b280388b70203f3 (diff) | |
download | CMake-4d15046eddcd6326fd7229adcb3bdb93717f3e06.zip CMake-4d15046eddcd6326fd7229adcb3bdb93717f3e06.tar.gz CMake-4d15046eddcd6326fd7229adcb3bdb93717f3e06.tar.bz2 |
Genex: Add $<TARGET_GENEX_EVAL:...> and $<GENEX_EVAL:...>
Fixes: #17884
Diffstat (limited to 'Tests/RunCMake/GeneratorExpression/TARGET_GENEX_EVAL-recursion1.cmake')
-rw-r--r-- | Tests/RunCMake/GeneratorExpression/TARGET_GENEX_EVAL-recursion1.cmake | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/Tests/RunCMake/GeneratorExpression/TARGET_GENEX_EVAL-recursion1.cmake b/Tests/RunCMake/GeneratorExpression/TARGET_GENEX_EVAL-recursion1.cmake new file mode 100644 index 0000000..b75d211 --- /dev/null +++ b/Tests/RunCMake/GeneratorExpression/TARGET_GENEX_EVAL-recursion1.cmake @@ -0,0 +1,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) |