Ninja: but cl supports /nologo ...
This commit is contained in:
parent
bf58e9adec
commit
ab245ff3c8
|
@ -683,10 +683,11 @@ int main() {
|
||||||
srcfilename = srcfile.substr(pos + 1);
|
srcfilename = srcfile.substr(pos + 1);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
std::string nol = " /nologo ";
|
||||||
std::string show = " /showIncludes ";
|
std::string show = " /showIncludes ";
|
||||||
if (lang == "C" || lang == "CXX") {
|
if (lang == "C" || lang == "CXX") {
|
||||||
return process(srcfilename, dfile, objfile, prefix,
|
return process(srcfilename, dfile, objfile, prefix,
|
||||||
binpath + show + rest);
|
binpath + nol + show + rest);
|
||||||
} else if (lang == "RC") {
|
} else if (lang == "RC") {
|
||||||
// "misuse" cl.exe to get headers from .rc files
|
// "misuse" cl.exe to get headers from .rc files
|
||||||
|
|
||||||
|
@ -701,10 +702,10 @@ int main() {
|
||||||
|
|
||||||
// extract dependencies with cl.exe
|
// extract dependencies with cl.exe
|
||||||
process(srcfilename, dfile, objfile,
|
process(srcfilename, dfile, objfile,
|
||||||
prefix, cl + show + clrest, true);
|
prefix, cl + nol + show + clrest, true);
|
||||||
|
|
||||||
// compile rc file with rc.exe
|
// compile rc file with rc.exe
|
||||||
return process(srcfilename, "" , objfile, prefix, binpath + nol + rest);
|
return process(srcfilename, "" , objfile, prefix, binpath + rest);
|
||||||
}
|
}
|
||||||
|
|
||||||
usage("Invalid language specified.");
|
usage("Invalid language specified.");
|
||||||
|
|
Loading…
Reference in New Issue