diff options
author | Andy Cedilnik <andy.cedilnik@kitware.com> | 2002-09-25 11:46:45 (GMT) |
---|---|---|
committer | Andy Cedilnik <andy.cedilnik@kitware.com> | 2002-09-25 11:46:45 (GMT) |
commit | 66d04692a021de593938f1407cd4cffcea6b6d00 (patch) | |
tree | 1428873751032d26d3fc880085b4ccd43abce2f9 /Source/cmGlobalGenerator.cxx | |
parent | 80f20047af31e35894b61afa11226dcab0b6a77b (diff) | |
download | CMake-66d04692a021de593938f1407cd4cffcea6b6d00.zip CMake-66d04692a021de593938f1407cd4cffcea6b6d00.tar.gz CMake-66d04692a021de593938f1407cd4cffcea6b6d00.tar.bz2 |
Attempt to make NMake quiet during TRY_COMPILE
Diffstat (limited to 'Source/cmGlobalGenerator.cxx')
-rw-r--r-- | Source/cmGlobalGenerator.cxx | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/Source/cmGlobalGenerator.cxx b/Source/cmGlobalGenerator.cxx index 45c03c7..bc69b82 100644 --- a/Source/cmGlobalGenerator.cxx +++ b/Source/cmGlobalGenerator.cxx @@ -160,6 +160,13 @@ int cmGlobalGenerator::TryCompile(const char *, const char *bindir, */ std::string cwd = cmSystemTools::GetCurrentWorkingDirectory(); cmSystemTools::ChangeDirectory(bindir); + + // Since we have full control over the invocation of nmake, let us + // make it quiet. + if ( strcmp(this->GetName(), "NMake Makefiles") == 0 ) + { + makeCommand += " /NOLOGO "; + } // now build if (target) |