cmake: Teach --build to honor CMAKE_VERBOSE_MAKEFILE for Ninja

The Ninja build system does not support a in-file verbositiy switch.
Instead teach 'cmake --build' to extract the CMAKE_VERBOSE_MAKEFILE
setting and pass it as an optional '-v' argument to Ninja.  This can
serve as a reasonable fallback.

Signed-off-by: Gregor Jasny <gjasny@googlemail.com>
This commit is contained in:
Gregor Jasny
2015-02-26 11:32:26 +01:00
committed by Brad King
parent 4817d2814a
commit ce935ebe50
17 changed files with 35 additions and 22 deletions
+1 -1
View File
@@ -60,7 +60,7 @@ public:
const std::string& projectDir,
const std::string& targetName,
const std::string& config,
bool fast,
bool fast, bool verbose,
std::vector<std::string> const& makeOptions = std::vector<std::string>()
);