BUG: Need proper newline argument to ConstructScript call.

This commit is contained in:
Brad King 2005-02-24 09:20:34 -05:00
parent f8c4e130a0
commit 77194207ce
1 changed files with 2 additions and 1 deletions

View File

@ -372,7 +372,8 @@ void cmLocalVisualStudio6Generator::WriteDSPFile(std::ostream& fout,
} }
if (command) 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* comment = command->GetComment();
const char* flags = compileFlags.size() ? compileFlags.c_str(): 0; const char* flags = compileFlags.size() ? compileFlags.c_str(): 0;
this->WriteCustomRule(fout, source.c_str(), script.c_str(), this->WriteCustomRule(fout, source.c_str(), script.c_str(),