diff options
author | David Cole <david.cole@kitware.com> | 2008-07-30 19:26:34 (GMT) |
---|---|---|
committer | David Cole <david.cole@kitware.com> | 2008-07-30 19:26:34 (GMT) |
commit | 17452105cd4a2d5cb22591171e462559c6127507 (patch) | |
tree | f39d9eb8c3bcb7cf719bc639247d2637cdb328a7 /Source/cmGlobalVisualStudioGenerator.cxx | |
parent | beeebcdc407eda8d29ff342f1570af4740e600ee (diff) | |
download | CMake-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.cxx | 8 |
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()); } } } |