浏览代码

BUG: Need proper newline argument to ConstructScript call.

Brad King 20 年之前
父节点
当前提交
77194207ce
共有 1 个文件被更改,包括 2 次插入1 次删除
  1. 2 1
      Source/cmLocalVisualStudio6Generator.cxx

+ 2 - 1
Source/cmLocalVisualStudio6Generator.cxx

@@ -372,7 +372,8 @@ void cmLocalVisualStudio6Generator::WriteDSPFile(std::ostream& fout,
           }
         if (command)
           {
-          std::string script = this->ConstructScript(command->GetCommandLines());
+          std::string script =
+            this->ConstructScript(command->GetCommandLines(), "\\\n\t");
           const char* comment = command->GetComment();
           const char* flags = compileFlags.size() ? compileFlags.c_str(): 0;
           this->WriteCustomRule(fout, source.c_str(), script.c_str(),