diff options
author | Marc Chevrier <marc.chevrier@sap.com> | 2018-04-13 16:16:32 +0200 |
---|---|---|
committer | Marc Chevrier <marc.chevrier@sap.com> | 2018-04-23 11:13:52 +0200 |
commit | 4d15046eddcd6326fd7229adcb3bdb93717f3e06 (patch) | |
tree | 1703b6f342f434aea4c038587538f77dbeb806e6 /Tests/RunCMake/GeneratorExpression/GENEX_EVAL-recursion2.cmake | |
parent | 1f372ac4e52ac7de65d3fc855b280388b70203f3 (diff) | |
download | cmake-4d15046eddcd6326fd7229adcb3bdb93717f3e06.tar.gz |
Genex: Add $<TARGET_GENEX_EVAL:...> and $<GENEX_EVAL:...>
Fixes: #17884
Diffstat (limited to 'Tests/RunCMake/GeneratorExpression/GENEX_EVAL-recursion2.cmake')
-rw-r--r-- | Tests/RunCMake/GeneratorExpression/GENEX_EVAL-recursion2.cmake | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/Tests/RunCMake/GeneratorExpression/GENEX_EVAL-recursion2.cmake b/Tests/RunCMake/GeneratorExpression/GENEX_EVAL-recursion2.cmake new file mode 100644 index 0000000000..773749f2c1 --- /dev/null +++ b/Tests/RunCMake/GeneratorExpression/GENEX_EVAL-recursion2.cmake @@ -0,0 +1,10 @@ + +enable_language(C) + +add_library(recursion SHARED empty.c) +set_property (TARGET recursion PROPERTY CUSTOM_PROPERTY1 "$<GENEX_EVAL:$<TARGET_PROPERTY:CUSTOM_PROPERTY2>>") +set_property (TARGET recursion PROPERTY CUSTOM_PROPERTY2 "$<GENEX_EVAL:$<TARGET_PROPERTY:CUSTOM_PROPERTY1>>") + +add_custom_target (drive + COMMAND echo "$<TARGET_GENEX_EVAL:recursion,$<TARGET_PROPERTY:recursion,CUSTOM_PROPERTY1>>" + DEPENDS recursion) |