diff options
author | Stephen Kelly <steveire@gmail.com> | 2012-12-10 11:33:23 +0100 |
---|---|---|
committer | Stephen Kelly <steveire@gmail.com> | 2013-01-05 01:05:09 +0100 |
commit | b0c8f73eb62c5651b4a039f95676cae310bcada9 (patch) | |
tree | 43cc7d8a2db894cea68d8b5300cf3ee210e1f1a2 /Tests/GeneratorExpression/CMakeLists.txt | |
parent | 77475fe61d0a1bbd562228bf66d5043bd001cb48 (diff) | |
download | cmake-b0c8f73eb62c5651b4a039f95676cae310bcada9.tar.gz |
Add the TARGET_NAME generator expression.
It will be used as a preprocessing marker.
Diffstat (limited to 'Tests/GeneratorExpression/CMakeLists.txt')
-rw-r--r-- | Tests/GeneratorExpression/CMakeLists.txt | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Tests/GeneratorExpression/CMakeLists.txt b/Tests/GeneratorExpression/CMakeLists.txt index db6fb74799..ecbbedf446 100644 --- a/Tests/GeneratorExpression/CMakeLists.txt +++ b/Tests/GeneratorExpression/CMakeLists.txt @@ -87,6 +87,8 @@ add_custom_target(check-part2 ALL -Dtest_incomplete_21=$<BOOL:something$<ANGLE-R> -Dtest_build_interface=$<BUILD_INTERFACE:build> -Dtest_install_interface=$<INSTALL_INTERFACE:install> + -Dtest_target_name_1=$<TARGET_NAME:tgt,ok> + -Dtest_target_name_2=$<TARGET_NAME:tgt:ok> -P ${CMAKE_CURRENT_SOURCE_DIR}/check-part2.cmake COMMAND ${CMAKE_COMMAND} -E echo "check done (part 2 of 2)" VERBATIM |