diff options
author | Stephen Kelly <steveire@gmail.com> | 2016-06-12 20:06:01 (GMT) |
---|---|---|
committer | Stephen Kelly <steveire@gmail.com> | 2016-06-12 20:08:47 (GMT) |
commit | 54c65d5fb22c3cc53ecd707687c2f25b1643726b (patch) | |
tree | a09a2c047b84501ad6062c78221b42ab0c0e8f76 /Source/cmake.cxx | |
parent | acf0c0f4446e6d3cee8b00a7ebc39d5d8040e42d (diff) | |
download | CMake-54c65d5fb22c3cc53ecd707687c2f25b1643726b.zip CMake-54c65d5fb22c3cc53ecd707687c2f25b1643726b.tar.gz CMake-54c65d5fb22c3cc53ecd707687c2f25b1643726b.tar.bz2 |
cmake: Extract DisplayMessage API.
Diffstat (limited to 'Source/cmake.cxx')
-rw-r--r-- | Source/cmake.cxx | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Source/cmake.cxx b/Source/cmake.cxx index ecbdc61..657091b 100644 --- a/Source/cmake.cxx +++ b/Source/cmake.cxx @@ -2310,6 +2310,12 @@ void cmake::IssueMessage(cmake::MessageType t, std::string const& text, return; } + this->DisplayMessage(t, text, backtrace); +} + +void cmake::DisplayMessage(cmake::MessageType t, std::string const& text, + cmListFileBacktrace const& backtrace) const +{ std::ostringstream msg; if (!printMessagePreamble(t, msg)) { return; |