diff options
author | Nils Gladitz <nilsgladitz@gmail.com> | 2019-01-11 20:29:58 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2019-01-16 15:21:01 (GMT) |
commit | 22b43b0009f37c41b310dd26a4ecb00361975aaa (patch) | |
tree | 409f07a4b849e58793396123deeeb683fb52650b /Tests/RunCMake/VS10Project/VsDebuggerCommandArguments.cmake | |
parent | c59eae7ebc5423c2b06befd762f8639b0f23b7a0 (diff) | |
download | CMake-22b43b0009f37c41b310dd26a4ecb00361975aaa.zip CMake-22b43b0009f37c41b310dd26a4ecb00361975aaa.tar.gz CMake-22b43b0009f37c41b310dd26a4ecb00361975aaa.tar.bz2 |
VS: Add support for VS_DEBUGGER_* properties on custom targets
Visual studio itself supports the corresponding `LocalDebugger*`
properties on utility targets; support generating them from CMake as
well.
Diffstat (limited to 'Tests/RunCMake/VS10Project/VsDebuggerCommandArguments.cmake')
-rw-r--r-- | Tests/RunCMake/VS10Project/VsDebuggerCommandArguments.cmake | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Tests/RunCMake/VS10Project/VsDebuggerCommandArguments.cmake b/Tests/RunCMake/VS10Project/VsDebuggerCommandArguments.cmake index aa87cdc..1f7d0be 100644 --- a/Tests/RunCMake/VS10Project/VsDebuggerCommandArguments.cmake +++ b/Tests/RunCMake/VS10Project/VsDebuggerCommandArguments.cmake @@ -1,5 +1,6 @@ enable_language(CXX) add_library(foo foo.cpp) +add_custom_target(bar) -set_target_properties(foo PROPERTIES +set_target_properties(foo bar PROPERTIES VS_DEBUGGER_COMMAND_ARGUMENTS "my-debugger-command-arguments $<TARGET_PROPERTY:foo,NAME>") |