summaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
authorAlex Neundorf <neundorf@kde.org>2023-05-01 14:12:28 (GMT)
committerBrad King <brad.king@kitware.com>2023-05-01 17:39:00 (GMT)
commit35566b48b4b417a7be4f510b081c1c11ef73f4af (patch)
treeca84e10bb581ca19baa6e2a3a366b60eb7d3426f /Source
parent73ebfe661309a4a9f52d000eccd5a546cbf139ef (diff)
downloadCMake-35566b48b4b417a7be4f510b081c1c11ef73f4af.zip
CMake-35566b48b4b417a7be4f510b081c1c11ef73f4af.tar.gz
CMake-35566b48b4b417a7be4f510b081c1c11ef73f4af.tar.bz2
VS: Add variables to initialize debugger-related properties
Add variables to initialize target properties `VS_DEBUGGER_COMMAND`, `VS_DEBUGGER_COMMAND_ARGUMENTS`, `VS_DEBUGGER_ENVIRONMENT`, and `VS_DEBUGGER_WORKING_DIRECTORY`.
Diffstat (limited to 'Source')
-rw-r--r--Source/cmTarget.cxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/Source/cmTarget.cxx b/Source/cmTarget.cxx
index 4f14648..c8bf5b5 100644
--- a/Source/cmTarget.cxx
+++ b/Source/cmTarget.cxx
@@ -397,6 +397,10 @@ TargetProperty const StaticTargetProperties[] = {
{ "MSVC_DEBUG_INFORMATION_FORMAT"_s, IC::CanCompileSources },
{ "MSVC_RUNTIME_LIBRARY"_s, IC::CanCompileSources },
{ "VS_JUST_MY_CODE_DEBUGGING"_s, IC::CanCompileSources },
+ { "VS_DEBUGGER_COMMAND"_s, IC::ExecutableTarget },
+ { "VS_DEBUGGER_COMMAND_ARGUMENTS"_s, IC::ExecutableTarget },
+ { "VS_DEBUGGER_ENVIRONMENT"_s, IC::ExecutableTarget },
+ { "VS_DEBUGGER_WORKING_DIRECTORY"_s, IC::ExecutableTarget },
// ---- OpenWatcom
{ "WATCOM_RUNTIME_LIBRARY"_s, IC::CanCompileSources },
// -- Language