On Mon, Jul 20, 2015 at 9:36 AM, Brad King <brad.k...@kitware.com> wrote:
> On 07/18/2015 03:45 PM, Clifford Yapp wrote:
>> Am I correct that cmSystemTools::Message is the gateway through which
>> all of the console output from CMake exits?  If so, perhaps the
>> simplest thing to do is simply allow copying to a log file at that
>> point?  It would be nice to have files containing only errors, only
>> warnings, etc. but it's not immediately clear to me how to set
>> something like that up...
>
> Look at Source/QtDialog/QCMake.cxx for use of SetStdoutCallback,
> SetStderrCallback, SetMessageCallback, and SetProgressCallback.
> The cmake-gui uses those to capture everything for display in
> the dialog.
>
> -Brad

Ah - thanks for the pointer.  Working on understanding how the various
overrides work - cmakemainProgressCallback et. al. and how Qt is
handling the various bits.

Cheers,
CY
-- 

Powered by www.kitware.com

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Kitware offers various services to support the CMake community. For more 
information on each offering, please visit:

CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/cmake-developers

Reply via email to