diff options
author | Brad King <brad.king@kitware.com> | 2013-01-07 19:19:51 (GMT) |
---|---|---|
committer | CMake Topic Stage <kwrobot@kitware.com> | 2013-01-07 19:19:51 (GMT) |
commit | 9cbc637d78a2ee9c30565bc99e616c892934af05 (patch) | |
tree | c482cd25100746fcc48a1682b3215edb78036615 /Tests | |
parent | 34f959e5b11d3acbf352f20137aa17402ceb5f8e (diff) | |
parent | 119bf4bf7f1db2aea6afb64fff471d6994cadf44 (diff) | |
download | CMake-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.txt | 6 |
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}") |