summaryrefslogtreecommitdiffstats
path: root/Source/cmLocalVisualStudio7Generator.cxx
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2004-04-23 17:12:33 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2004-04-23 17:12:33 (GMT)
commit0b7d154ebd1e2ab713a8f5018e26c4b0d8b823c4 (patch)
treedd7647e797c70804427816179ed7d2820947da6e /Source/cmLocalVisualStudio7Generator.cxx
parent8b0b749a11138107189f9264494f828778c0cf8b (diff)
downloadCMake-0b7d154ebd1e2ab713a8f5018e26c4b0d8b823c4.zip
CMake-0b7d154ebd1e2ab713a8f5018e26c4b0d8b823c4.tar.gz
CMake-0b7d154ebd1e2ab713a8f5018e26c4b0d8b823c4.tar.bz2
ENH: add verbose make abilility to visual studio 7
Diffstat (limited to 'Source/cmLocalVisualStudio7Generator.cxx')
-rw-r--r--Source/cmLocalVisualStudio7Generator.cxx25
1 files changed, 23 insertions, 2 deletions
diff --git a/Source/cmLocalVisualStudio7Generator.cxx b/Source/cmLocalVisualStudio7Generator.cxx
index 987917e..4c9c238 100644
--- a/Source/cmLocalVisualStudio7Generator.cxx
+++ b/Source/cmLocalVisualStudio7Generator.cxx
@@ -468,6 +468,11 @@ void cmLocalVisualStudio7Generator::WriteConfiguration(std::ostream& fout,
{
fout << "\t\t\t\tWarningLevel=\"" << m_Makefile->GetDefinition("CMAKE_CXX_WARNING_LEVEL") << "\"\n";
}
+ if(m_Makefile->IsOn("CMAKE_VERBOSE_MAKEFILE"))
+ {
+ fout << "\t\t\t\tSuppressStartupBanner=\"FALSE\"\n";
+ }
+
if(programDatabase.size())
{
fout << programDatabase << "\n";
@@ -566,7 +571,15 @@ void cmLocalVisualStudio7Generator::OutputBuildTool(std::ostream& fout,
fout << "\t\t\t\tOutputFile=\""
<< this->ConvertToXMLOutputPathSingle(temp.c_str()) << "\"\n";
fout << "\t\t\t\tLinkIncremental=\"1\"\n";
- fout << "\t\t\t\tSuppressStartupBanner=\"TRUE\"\n";
+ if(m_Makefile->IsOn("CMAKE_VERBOSE_MAKEFILE"))
+ {
+ fout << "\t\t\t\tSuppressStartupBanner=\"FALSE\"\n";
+ }
+ else
+ {
+ fout << "\t\t\t\tSuppressStartupBanner=\"TRUE\"\n";
+ }
+
fout << "\t\t\t\tAdditionalLibraryDirectories=\"";
this->OutputLibraryDirectories(fout, configName, libName, target);
fout << "\"\n";
@@ -614,7 +627,15 @@ void cmLocalVisualStudio7Generator::OutputBuildTool(std::ostream& fout,
temp += ".exe";
fout << "\t\t\t\tOutputFile=\"" << this->ConvertToXMLOutputPathSingle(temp.c_str()) << "\"\n";
fout << "\t\t\t\tLinkIncremental=\"1\"\n";
- fout << "\t\t\t\tSuppressStartupBanner=\"TRUE\"\n";
+ if(m_Makefile->IsOn("CMAKE_VERBOSE_MAKEFILE"))
+ {
+ fout << "\t\t\t\tSuppressStartupBanner=\"FALSE\"\n";
+ }
+ else
+ {
+ fout << "\t\t\t\tSuppressStartupBanner=\"TRUE\"\n";
+ }
+
fout << "\t\t\t\tAdditionalLibraryDirectories=\"";
this->OutputLibraryDirectories(fout, configName, libName, target);
fout << "\"\n";