Merge topic 'test-genex-custom-command'
119bf4b
Add test for custom command with a genex referring to a target.
This commit is contained in:
commit
9cbc637d78
|
@ -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}")
|
||||
|
|
Loading…
Reference in New Issue