summaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2018-03-19 12:26:18 (GMT)
committerKitware Robot <kwrobot@kitware.com>2018-03-19 12:26:33 (GMT)
commit60299bc6f057da13230551a56bf35a9c9825c036 (patch)
tree3aa39ccef64480c3450e0dd9144497b951ffedd6 /Source
parent360886b18009b61f1e5aa29fcab6eeb520e26e83 (diff)
parent5a7113d8fb2a6f1290b4533ff46e88a55fc2c656 (diff)
downloadCMake-60299bc6f057da13230551a56bf35a9c9825c036.zip
CMake-60299bc6f057da13230551a56bf35a9c9825c036.tar.gz
CMake-60299bc6f057da13230551a56bf35a9c9825c036.tar.bz2
Merge topic 'vs-debugger-command'
5a7113d8fb VS: Add target property VS_DEBUGGER_COMMAND Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1842
Diffstat (limited to 'Source')
-rw-r--r--Source/cmVisualStudio10TargetGenerator.cxx7
1 files changed, 7 insertions, 0 deletions
diff --git a/Source/cmVisualStudio10TargetGenerator.cxx b/Source/cmVisualStudio10TargetGenerator.cxx
index 68fbc28..87d3c78 100644
--- a/Source/cmVisualStudio10TargetGenerator.cxx
+++ b/Source/cmVisualStudio10TargetGenerator.cxx
@@ -2189,6 +2189,13 @@ void cmVisualStudio10TargetGenerator::WritePathAndIncrementalLinkOptions()
<< "</LocalDebuggerWorkingDirectory>\n";
}
+ if (const char* debuggerCommand =
+ this->GeneratorTarget->GetProperty("VS_DEBUGGER_COMMAND")) {
+ this->WritePlatformConfigTag("LocalDebuggerCommand", config, 2);
+ *this->BuildFileStream << cmVS10EscapeXML(debuggerCommand)
+ << "</LocalDebuggerCommand>\n";
+ }
+
std::string name =
cmSystemTools::GetFilenameWithoutLastExtension(targetNameFull);
this->WritePlatformConfigTag("TargetName", config, 2);