summaryrefslogtreecommitdiffstats
path: root/Source/cmcldeps.cxx
diff options
context:
space:
mode:
authorPeter Kuemmel <syntheticpp@gmx.net>2012-06-15 08:40:04 (GMT)
committerPeter Kuemmel <syntheticpp@gmx.net>2012-06-15 08:40:04 (GMT)
commit518c06585b07c1b7a189374c9196fc1a7fc3502d (patch)
tree46a4f0730df1c8bef1a488ea98c432e590a4ad5e /Source/cmcldeps.cxx
parent41c28dc35ba7efaf9426a8b8f5597aee11b7db61 (diff)
downloadCMake-518c06585b07c1b7a189374c9196fc1a7fc3502d.zip
CMake-518c06585b07c1b7a189374c9196fc1a7fc3502d.tar.gz
CMake-518c06585b07c1b7a189374c9196fc1a7fc3502d.tar.bz2
Ninja: don't pollute build dir with preprocessed rc files
Diffstat (limited to 'Source/cmcldeps.cxx')
-rw-r--r--Source/cmcldeps.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmcldeps.cxx b/Source/cmcldeps.cxx
index 65a44a8..d2c22a2 100644
--- a/Source/cmcldeps.cxx
+++ b/Source/cmcldeps.cxx
@@ -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,