summaryrefslogtreecommitdiffstats
path: root/Tests
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2013-01-07 19:19:51 (GMT)
committerCMake Topic Stage <kwrobot@kitware.com>2013-01-07 19:19:51 (GMT)
commit9cbc637d78a2ee9c30565bc99e616c892934af05 (patch)
treec482cd25100746fcc48a1682b3215edb78036615 /Tests
parent34f959e5b11d3acbf352f20137aa17402ceb5f8e (diff)
parent119bf4bf7f1db2aea6afb64fff471d6994cadf44 (diff)
downloadCMake-9cbc637d78a2ee9c30565bc99e616c892934af05.zip
CMake-9cbc637d78a2ee9c30565bc99e616c892934af05.tar.gz
CMake-9cbc637d78a2ee9c30565bc99e616c892934af05.tar.bz2
Merge topic 'test-genex-custom-command'
119bf4b Add test for custom command with a genex referring to a target.
Diffstat (limited to 'Tests')
-rw-r--r--Tests/IncludeDirectories/TargetIncludeDirectories/CMakeLists.txt6
1 files changed, 6 insertions, 0 deletions
diff --git a/Tests/IncludeDirectories/TargetIncludeDirectories/CMakeLists.txt b/Tests/IncludeDirectories/TargetIncludeDirectories/CMakeLists.txt
index 7cb1b42..3044abd 100644
--- a/Tests/IncludeDirectories/TargetIncludeDirectories/CMakeLists.txt
+++ b/Tests/IncludeDirectories/TargetIncludeDirectories/CMakeLists.txt
@@ -45,3 +45,9 @@ set_property(TARGET TargetIncludeDirectories
APPEND PROPERTY INCLUDE_DIRECTORIES
"$<TARGET_PROPERTY:somelib::withcolons,INTERFACE_INCLUDE_DIRECTORIES>"
)
+
+add_custom_target(test_custom_target
+ "some_bogus_custom_tool"
+ $<TARGET_PROPERTY:TargetIncludeDirectories,COMPILE_DEFINITIONS>
+ WORKING_DIRECTORY
+ "${CMAKE_CURRENT_SOURCE_DIR}")