[CMake] Concerning ninja -v
David Aldrich
david.aldrich.ntml at gmail.com
Mon Oct 21 05:23:12 EDT 2019
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?
(I am running CMake 3.15.4 on WSL - Ubuntu 18.04).
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://cmake.org/pipermail/cmake/attachments/20191021/04cb9306/attachment.html>
More information about the CMake
mailing list