summaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
authorPeter Kuemmel <syntheticpp@gmx.net>2012-06-14 07:52:39 (GMT)
committerPeter Kuemmel <syntheticpp@gmx.net>2012-06-14 08:48:31 (GMT)
commit77cb7b502f3a90c75e92df655f2d37132ee5627f (patch)
treefdcfcad5dc057a9fb838b75696b433f2f71b9691 /Source
parente2ffa14b998f670a3112b9f8cb4edb6f720d6386 (diff)
downloadCMake-77cb7b502f3a90c75e92df655f2d37132ee5627f.zip
CMake-77cb7b502f3a90c75e92df655f2d37132ee5627f.tar.gz
CMake-77cb7b502f3a90c75e92df655f2d37132ee5627f.tar.bz2
Ninja: suppress startup logos
Having Ninja's smart printing we are more allergic on unneeded tool output.
Diffstat (limited to 'Source')
-rw-r--r--Source/cmcldeps.cxx8
1 files changed, 5 insertions, 3 deletions
diff --git a/Source/cmcldeps.cxx b/Source/cmcldeps.cxx
index 193a2e0..a665f89 100644
--- a/Source/cmcldeps.cxx
+++ b/Source/cmcldeps.cxx
@@ -694,20 +694,22 @@ int main() {
fprintf(stderr, "\n\n");
#endif
+ std::string showflag = " /showIncludes /nologo ";
if (lang != "RC") {
return process(srcfile, dfile, objfile, prefix,
- binpath + " /showIncludes " + rest);
+ binpath + showflag + rest);
} else {
// "misuse" cl.exe to get headers from .rc files
// rc: /fo x\CMakeFiles\x.dir\x.rc.res src\x\x.rc
// cl: /out:x\CMakeFiles\x.dir\x.rc.res.dep.obj /Tc src\x\x.rc
- cl = "\"" + cl + "\" /P /DRC_INVOKED /showIncludes " +
+ cl = "\"" + cl + "\" /P /DRC_INVOKED " + showflag +
replace(rest, "/fo" + objfile, "/out:" + objfile + ".dep.obj /Tc ");
int ret;
ret = process(srcfile, dfile, objfile, prefix, cl, true);
- ret = process(srcfile, "" , objfile, prefix, binpath + " " + rest);
+ ret = process(srcfile, "" , objfile, prefix,
+ binpath + " /nologo " + rest);
return ret;
}