summaryrefslogtreecommitdiffstats
path: root/Source/cmGlobalVisualStudioGenerator.cxx
diff options
context:
space:
mode:
authorDavid Cole <david.cole@kitware.com>2008-07-30 19:26:34 (GMT)
committerDavid Cole <david.cole@kitware.com>2008-07-30 19:26:34 (GMT)
commit17452105cd4a2d5cb22591171e462559c6127507 (patch)
treef39d9eb8c3bcb7cf719bc639247d2637cdb328a7 /Source/cmGlobalVisualStudioGenerator.cxx
parentbeeebcdc407eda8d29ff342f1570af4740e600ee (diff)
downloadCMake-17452105cd4a2d5cb22591171e462559c6127507.zip
CMake-17452105cd4a2d5cb22591171e462559c6127507.tar.gz
CMake-17452105cd4a2d5cb22591171e462559c6127507.tar.bz2
BUG: Fix issue #7088 - do not emit error messages when attempts to run Visual Studio macros fail. You can still get the error output as messages if you want using --debug-output from the cmake command line.
Diffstat (limited to 'Source/cmGlobalVisualStudioGenerator.cxx')
-rw-r--r--Source/cmGlobalVisualStudioGenerator.cxx8
1 files changed, 5 insertions, 3 deletions
diff --git a/Source/cmGlobalVisualStudioGenerator.cxx b/Source/cmGlobalVisualStudioGenerator.cxx
index e28b293..4e1b851 100644
--- a/Source/cmGlobalVisualStudioGenerator.cxx
+++ b/Source/cmGlobalVisualStudioGenerator.cxx
@@ -178,14 +178,16 @@ cmGlobalVisualStudioGenerator
projects += ";";
projects += *it;
}
- cmCallVisualStudioMacro::CallMacro
- (topLevelSlnName, CMAKE_VSMACROS_RELOAD_MACRONAME, projects);
+ cmCallVisualStudioMacro::CallMacro(topLevelSlnName,
+ CMAKE_VSMACROS_RELOAD_MACRONAME, projects,
+ this->GetCMakeInstance()->GetDebugOutput());
}
}
else if(m == MacroStop)
{
cmCallVisualStudioMacro::CallMacro(topLevelSlnName,
- CMAKE_VSMACROS_STOP_MACRONAME, "");
+ CMAKE_VSMACROS_STOP_MACRONAME, "",
+ this->GetCMakeInstance()->GetDebugOutput());
}
}
}