On Mon, 2019-10-21 at 10:23 +0100, David Aldrich wrote: > I have a simple CMake project with subdirectories: > > cmake_minimum_required(VERSION 3.10) > project(MyProject VERSION 1.0.0) > > set(CMAKE_VERBOSE_MAKEFILE ON CACHE BOOL "ON") > > add_subdirectory(say-hello) > add_subdirectory(hello-exe) > > Will the 'CMAKE_VERBOSE_MAKEFILE' option be inherited by the > CMakeLists.txt files in the subdirectories? > > I want to run ninja with the '-v' option for verbosity but the above > 'set' command is not achieving this. What do I need to do > differently?
Does just invoking ninja with -v not show verbosity? That should do it. I don't believe CMAKE_VERBOSE_MAKEFILE affects Ninja builds. Kyle -- 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