From 66d04692a021de593938f1407cd4cffcea6b6d00 Mon Sep 17 00:00:00 2001 From: Andy Cedilnik Date: Wed, 25 Sep 2002 07:46:45 -0400 Subject: [PATCH] Attempt to make NMake quiet during TRY_COMPILE --- Source/cmGlobalGenerator.cxx | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Source/cmGlobalGenerator.cxx b/Source/cmGlobalGenerator.cxx index 45c03c7b7..bc69b82c0 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)