1
0
mirror of https://github.com/Kitware/CMake.git synced 2025-10-25 04:25:29 +08:00

Ninja: don't pollute build dir with preprocessed rc files

This commit is contained in:
Peter Kuemmel
2012-06-15 10:40:04 +02:00
parent 41c28dc35b
commit 518c06585b

View File

@@ -698,7 +698,7 @@ int main() {
// rc: src\x\x.rc -> cl: /Tc src\x\x.rc
clrest = replace(clrest, srcfile, "/Tc " + srcfile);
cl = "\"" + cl + "\" /P /DRC_INVOKED ";
cl = "\"" + cl + "\" /EP /DRC_INVOKED ";
// extract dependencies with cl.exe
process(srcfilename, dfile, objfile,