瀏覽代碼

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.
Brad King 9 年之前
父節點
當前提交
a3bcf2aa2c
共有 1 個文件被更改,包括 2 次插入1 次删除
  1. 2 1
      Source/cmLocalVisualStudio7Generator.cxx

+ 2 - 1
Source/cmLocalVisualStudio7Generator.cxx

@@ -1389,7 +1389,8 @@ void cmLocalVisualStudio7Generator::OutputDeploymentDebuggerTool(
         "\t\t\t\tRegisterOutput=\"0\"\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 <<
         "\t\t\t<DebuggerTool\n"
         "\t\t\t\tRemoteExecutable=\"" << this->EscapeForXML(exe) << "\"\n"