summaryrefslogtreecommitdiffstats
path: root/Source/cmcldeps.cxx
diff options
context:
space:
mode:
authorPeter Kuemmel <syntheticpp@gmx.net>2012-06-15 10:47:40 (GMT)
committerPeter Kuemmel <syntheticpp@gmx.net>2012-06-15 10:49:01 (GMT)
commitbf58e9adec832608c35119ce7d5334ec750c15d2 (patch)
tree4b588b2714ea20daf4ef1aa6b7457540cbb406a4 /Source/cmcldeps.cxx
parent2fb07fc44c49da70a609fbc0df013c0301e9f36a (diff)
downloadCMake-bf58e9adec832608c35119ce7d5334ec750c15d2.zip
CMake-bf58e9adec832608c35119ce7d5334ec750c15d2.tar.gz
CMake-bf58e9adec832608c35119ce7d5334ec750c15d2.tar.bz2
Ninja: no /nologo option in old rc.exe
Diffstat (limited to 'Source/cmcldeps.cxx')
-rw-r--r--Source/cmcldeps.cxx5
1 files changed, 2 insertions, 3 deletions
diff --git a/Source/cmcldeps.cxx b/Source/cmcldeps.cxx
index d2c22a2..c177178 100644
--- a/Source/cmcldeps.cxx
+++ b/Source/cmcldeps.cxx
@@ -683,11 +683,10 @@ int main() {
srcfilename = srcfile.substr(pos + 1);
}
- std::string nol = " /nologo ";
std::string show = " /showIncludes ";
if (lang == "C" || lang == "CXX") {
return process(srcfilename, dfile, objfile, prefix,
- binpath + nol + show + rest);
+ binpath + show + rest);
} else if (lang == "RC") {
// "misuse" cl.exe to get headers from .rc files
@@ -702,7 +701,7 @@ int main() {
// extract dependencies with cl.exe
process(srcfilename, dfile, objfile,
- prefix, cl + nol + show + clrest, true);
+ prefix, cl + show + clrest, true);
// compile rc file with rc.exe
return process(srcfilename, "" , objfile, prefix, binpath + nol + rest);