Merge topic 'test-genex-custom-command'

119bf4b Add test for custom command with a genex referring to a target.
This commit is contained in:
Brad King 2013-01-07 14:19:51 -05:00 committed by CMake Topic Stage
commit 9cbc637d78
1 changed files with 6 additions and 0 deletions

View File

@ -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}")