Hello, For our CI and production build we call cmake --build to execute the actual build. To be able to examine the build logs we added -DCMAKE_VERBOSE_MAKEFILE=ON to the configuration step. This worked as expected for the Makefile generator but is ignored for Ninja.
As far as I understand the code, the Makefile generator adds a VERBOSE statement to the Makefile so that make automatically switches to verbose mode when being executed. Unfortunately Ninja has no equivalent option. As a work-around would it be possible that cmake --build examines the cache, detects CMAKE_VERBOSE_MAKEFILE=ON and adds a -v to the Ninja invocation? If you think that this is a reasonable approach could you please give me some pointers where to insert the necessary code? Thanks, Gregor -- 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