浏览代码

VS: Replace FULL/UNCHANGED conversion with equivalent

Stephen Kelly 9 年之前
父节点
当前提交
a8c7ccb183
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      Source/cmLocalVisualStudio7Generator.cxx

+ 2 - 2
Source/cmLocalVisualStudio7Generator.cxx

@@ -278,8 +278,8 @@ cmSourceFile* cmLocalVisualStudio7Generator::CreateVCProjBuildRule()
   cmCustomCommandLines commandLines;
   commandLines.push_back(commandLine);
   const char* no_working_directory = 0;
-  std::string fullpathStampName = this->Convert(
-    stampName.c_str(), cmOutputConverter::FULL, cmOutputConverter::UNCHANGED);
+  std::string fullpathStampName =
+    cmSystemTools::CollapseFullPath(stampName.c_str());
   this->Makefile->AddCustomCommandToOutput(
     fullpathStampName.c_str(), listFiles, makefileIn.c_str(), commandLines,
     comment.c_str(), no_working_directory, true);