summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/VS10Project/VsDebuggerCommandArguments.cmake
diff options
context:
space:
mode:
authorNils Gladitz <nilsgladitz@gmail.com>2019-01-11 20:29:58 (GMT)
committerBrad King <brad.king@kitware.com>2019-01-16 15:21:01 (GMT)
commit22b43b0009f37c41b310dd26a4ecb00361975aaa (patch)
tree409f07a4b849e58793396123deeeb683fb52650b /Tests/RunCMake/VS10Project/VsDebuggerCommandArguments.cmake
parentc59eae7ebc5423c2b06befd762f8639b0f23b7a0 (diff)
downloadCMake-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.cmake3
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>")