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:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user