Jelajahi Sumber

BUG: Need proper newline argument to ConstructScript call.

Brad King 20 tahun lalu
induk
melakukan
77194207ce
1 mengubah file dengan 2 tambahan dan 1 penghapusan
  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(),