diff options
author | Brad King <brad.king@kitware.com> | 2014-05-15 13:47:25 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2014-05-15 14:28:42 (GMT) |
commit | 92ddf0c9e20af6158d84db34eeba795061fad1e9 (patch) | |
tree | dac89570ff97e1b18cb2853ff38b0ee545005460 /Source/QtDialog/QCMake.h | |
parent | f52b5ae3c4a87723f90f63249a979424aaf99407 (diff) | |
download | CMake-92ddf0c9e20af6158d84db34eeba795061fad1e9.zip CMake-92ddf0c9e20af6158d84db34eeba795061fad1e9.tar.gz CMake-92ddf0c9e20af6158d84db34eeba795061fad1e9.tar.bz2 |
cmake-gui: Capture cmSystemTools::Stdout and Stderr
Output sent through these APIs is logically part of the CMake process
output. Capture it with callbacks and display it in the cmake-gui
output window along with other messages.
Diffstat (limited to 'Source/QtDialog/QCMake.h')
-rw-r--r-- | Source/QtDialog/QCMake.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/QtDialog/QCMake.h b/Source/QtDialog/QCMake.h index 8e71ea5..bd82f0d 100644 --- a/Source/QtDialog/QCMake.h +++ b/Source/QtDialog/QCMake.h @@ -138,6 +138,8 @@ protected: static void progressCallback(const char* msg, float percent, void* cd); static void messageCallback(const char* msg, const char* title, bool&, void* cd); + static void stdoutCallback(const char* msg, size_t len, void* cd); + static void stderrCallback(const char* msg, size_t len, void* cd); bool SuppressDevWarnings; bool WarnUninitializedMode; bool WarnUnusedMode; |