diff options
author | Brad King <brad.king@kitware.com> | 2018-03-19 12:26:18 (GMT) |
---|---|---|
committer | Kitware Robot <kwrobot@kitware.com> | 2018-03-19 12:26:33 (GMT) |
commit | 60299bc6f057da13230551a56bf35a9c9825c036 (patch) | |
tree | 3aa39ccef64480c3450e0dd9144497b951ffedd6 /Source | |
parent | 360886b18009b61f1e5aa29fcab6eeb520e26e83 (diff) | |
parent | 5a7113d8fb2a6f1290b4533ff46e88a55fc2c656 (diff) | |
download | CMake-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.cxx | 7 |
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); |