Ninja: don't pollute build dir with preprocessed rc files
This commit is contained in:
parent
41c28dc35b
commit
518c06585b
|
@ -698,7 +698,7 @@ int main() {
|
||||||
// rc: src\x\x.rc -> cl: /Tc src\x\x.rc
|
// rc: src\x\x.rc -> cl: /Tc src\x\x.rc
|
||||||
clrest = replace(clrest, srcfile, "/Tc " + srcfile);
|
clrest = replace(clrest, srcfile, "/Tc " + srcfile);
|
||||||
|
|
||||||
cl = "\"" + cl + "\" /P /DRC_INVOKED ";
|
cl = "\"" + cl + "\" /EP /DRC_INVOKED ";
|
||||||
|
|
||||||
// extract dependencies with cl.exe
|
// extract dependencies with cl.exe
|
||||||
process(srcfilename, dfile, objfile,
|
process(srcfilename, dfile, objfile,
|
||||||
|
|
Loading…
Reference in New Issue