[cmake-developers] [PATCH] Pass CMAKE_VERBOSE_MAKEFILE value to Ninja Generator

Brad King brad.king at kitware.com
Thu Feb 26 10:27:20 EST 2015


On 02/26/2015 05:32 AM, Gregor Jasny wrote:
> Ninja build system does not support a in-Makefile verbositiy
> switch. So we use cmake --build as a fall back to extract the
> CMAKE_VERBOSE_MAKEFILE property and pass it as an optional
> -v argument to Ninja.

Applied and test case added:

 cmake: Teach --build to honor CMAKE_VERBOSE_MAKEFILE for Ninja
 http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=ce935ebe

 Tests: Extend RunCMake.CommandLine to cover 'cmake --build' for 'ninja -v'
 http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=d1082448

Thanks,
-Brad



More information about the cmake-developers mailing list