Ninja: use slahes in .d files

This commit is contained in:
Peter Kuemmel 2012-06-10 21:27:25 +02:00
parent ba8d0db217
commit 4db9dd89df
1 changed files with 1 additions and 1 deletions

View File

@ -576,7 +576,7 @@ static void outputDepFile(const string& dfile, const string& objfile,
for (vector<string>::iterator i(incs.begin()); i != incs.end(); ++i) { for (vector<string>::iterator i(incs.begin()); i != incs.end(); ++i) {
tmp = *i; tmp = *i;
doEscape(tmp, "\\", "\\\\"); doEscape(tmp, "\\", "/");
doEscape(tmp, " ", "\\ "); doEscape(tmp, " ", "\\ ");
//doEscape(tmp, "(", "("); // TODO ninja cant read ( and ) //doEscape(tmp, "(", "("); // TODO ninja cant read ( and )
//doEscape(tmp, ")", ")"); //doEscape(tmp, ")", ")");