Attempt to make NMake quiet during TRY_COMPILE

This commit is contained in:
Andy Cedilnik 2002-09-25 07:46:45 -04:00
parent 80f20047af
commit 66d04692a0
1 changed files with 7 additions and 0 deletions

View File

@ -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)