diff options
author | Hannes Mezger <hannes.mezger@ascolab.com> | 2018-03-12 15:19:08 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2018-03-14 17:27:15 (GMT) |
commit | 5a7113d8fb2a6f1290b4533ff46e88a55fc2c656 (patch) | |
tree | 2180d382b160215a73e7a5d46591bbf0c62f2294 /Source/cmVisualStudio10TargetGenerator.cxx | |
parent | b340cacde869102b2b548b2e7ebc7341334f1d58 (diff) | |
download | CMake-5a7113d8fb2a6f1290b4533ff46e88a55fc2c656.zip CMake-5a7113d8fb2a6f1290b4533ff46e88a55fc2c656.tar.gz CMake-5a7113d8fb2a6f1290b4533ff46e88a55fc2c656.tar.bz2 |
VS: Add target property VS_DEBUGGER_COMMAND
Fixes: #17819
Diffstat (limited to 'Source/cmVisualStudio10TargetGenerator.cxx')
-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 0fd8043..d6e0388 100644 --- a/Source/cmVisualStudio10TargetGenerator.cxx +++ b/Source/cmVisualStudio10TargetGenerator.cxx @@ -2180,6 +2180,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); |