Ninja: use slahes in .d files
This commit is contained in:
parent
ba8d0db217
commit
4db9dd89df
|
@ -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, ")", ")");
|
||||||
|
|
Loading…
Reference in New Issue