ENH: allow verbose makefile flag to remove nologo from all commands so you can see them in visual studio 6

This commit is contained in:
Bill Hoffman 2004-04-23 09:12:57 -04:00
parent 32a6a8fb0c
commit 3262bc73d3
1 changed files with 5 additions and 0 deletions

View File

@ -1005,6 +1005,11 @@ void cmLocalVisualStudio6Generator::WriteDSPHeader(std::ostream& fout, const cha
cmSystemTools::ReplaceString(line, "CM_STATIC_LIB_ARGS", cmSystemTools::ReplaceString(line, "CM_STATIC_LIB_ARGS",
staticLibOptions.c_str()); staticLibOptions.c_str());
} }
if(m_Makefile->IsOn("CMAKE_VERBOSE_MAKEFILE"))
{
cmSystemTools::ReplaceString(line, "/nologo", "");
}
cmSystemTools::ReplaceString(line, "CM_LIBRARIES", cmSystemTools::ReplaceString(line, "CM_LIBRARIES",
libOptions.c_str()); libOptions.c_str());
cmSystemTools::ReplaceString(line, "CM_DEBUG_LIBRARIES", cmSystemTools::ReplaceString(line, "CM_DEBUG_LIBRARIES",