VS: Fix WinCE remote debugger tool per-config target name

Fix the DebuggerTool RemoteExecutable value added by commit a22f9967
(VS: Optionally generate remote directory for WinCE projects,
2016-02-15) to account for the configuration when computing the target
name.
This commit is contained in:
Brad King 2016-03-17 09:37:01 -04:00
parent a22f996725
commit a3bcf2aa2c
1 changed files with 2 additions and 1 deletions

View File

@ -1389,7 +1389,8 @@ void cmLocalVisualStudio7Generator::OutputDeploymentDebuggerTool(
"\t\t\t\tRegisterOutput=\"0\"\n" "\t\t\t\tRegisterOutput=\"0\"\n"
"\t\t\t\tAdditionalFiles=\"\"/>\n" "\t\t\t\tAdditionalFiles=\"\"/>\n"
; ;
std::string const exe = dir + std::string("\\") + target->GetFullName(); std::string const exe =
dir + std::string("\\") + target->GetFullName(config);
fout << fout <<
"\t\t\t<DebuggerTool\n" "\t\t\t<DebuggerTool\n"
"\t\t\t\tRemoteExecutable=\"" << this->EscapeForXML(exe) << "\"\n" "\t\t\t\tRemoteExecutable=\"" << this->EscapeForXML(exe) << "\"\n"