Discussion:
[cmake-developers] Generalized verbose option for cmake --build.
Ray Donnelly
2018-10-18 15:48:28 UTC
Permalink
Hi CMake developers,

Why do I need to know the necessary verbose flag to make each back-end
that cmake --build calls emit more information? If forces my build
script to switch on the platform in a really ugly way for something
I'd consider a very important feature (you already hardcode various
things to enable cmake --build to work, so why not this as well?)
Something like cmake --build --verbose would be good.


Best regards,

Ray.
--
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:
https://cmake.org/mailman/listinfo/cmake-developers
Brad King
2018-10-18 15:53:32 UTC
Permalink
Post by Ray Donnelly
Why do I need to know the necessary verbose flag to make each back-end
that cmake --build calls emit more information? If forces my build
script to switch on the platform in a really ugly way for something
I'd consider a very important feature (you already hardcode various
things to enable cmake --build to work, so why not this as well?)
Something like cmake --build --verbose would be good.
There is work on that here:

https://gitlab.kitware.com/cmake/cmake/merge_requests/2129

but it has stalled.

-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:
https://cmake.org/mailman/listinfo/cmake-developers
Rolf Eike Beer
2018-10-18 16:21:51 UTC
Permalink
Post by Ray Donnelly
Hi CMake developers,
Why do I need to know the necessary verbose flag to make each back-end
that cmake --build calls emit more information? If forces my build
script to switch on the platform in a really ugly way for something
I'd consider a very important feature (you already hardcode various
things to enable cmake --build to work, so why not this as well?)
Something like cmake --build --verbose would be good.
I had the same problem with our automated builds, and I solved this by simply
passing

-D CMAKE_VERBOSE_MAKEFILE=On

to the CMake run.

Eike

Loading...