Re: [cmake-developers] QtAutoGenerators output in Ninja
On 07/12/2016 06:58 AM, Kevin Funk wrote: >> How can this be improved? >> * remove the messages (no output == all good) >> * add an option to silence them >> * add an option to show them and hide them per default >> * ... > > While it probably still makes sense to have it for Unix Makefiles; can we > just > disable this particular output in case Ninja files are used? > > After all it's just a call to `cmake -E cmake_autogen`, right? Can we > parameterize this call? The message could be moved in to the comment field of the custom command generated for this. That should cause the Makefile generators to add an echo for it and the Ninja generator to not show it. -Brad -- 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
Re: [cmake-developers] QtAutoGenerators output in Ninja
On Tuesday, July 12, 2016 10:43:52 AM CEST Daniel Pfeifer wrote: > Hi, > > CMake currently puts messages like "Generating moc source" into the > buildlog. This conflicts with the convention "no output == all good". +1 > The messages blend nicely in the colorful output of Unix Makefiles, > but when using the Ninja generator, they create quite some noise. Indeed. > How can this be improved? > * remove the messages (no output == all good) > * add an option to silence them > * add an option to show them and hide them per default > * ... While it probably still makes sense to have it for Unix Makefiles; can we just disable this particular output in case Ninja files are used? After all it's just a call to `cmake -E cmake_autogen`, right? Can we parameterize this call? Just my 2 ct. Cheers, Kevin > Cheers, Daniel -- Kevin Funk | kf...@kde.org | http://kfunk.org signature.asc Description: This is a digitally signed message part. -- 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
[cmake-developers] QtAutoGenerators output in Ninja
Hi, CMake currently puts messages like "Generating moc source" into the buildlog. This conflicts with the convention "no output == all good". The messages blend nicely in the colorful output of Unix Makefiles, but when using the Ninja generator, they create quite some noise. How can this be improved? * remove the messages (no output == all good) * add an option to silence them * add an option to show them and hide them per default * ... Cheers, Daniel -- 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