diff options
author | Gregor Jasny <gjasny@googlemail.com> | 2015-02-26 10:32:26 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2015-02-26 14:51:11 (GMT) |
commit | ce935ebe50926bde199d86fbde4a78974a4043f9 (patch) | |
tree | 407a8769628db398480ee33bd04be164d0cf3bfd /Source/CPack/cmCPackGenerator.cxx | |
parent | 4817d2814a6d82e35590f9bfff2b088c95d45395 (diff) | |
download | CMake-ce935ebe50926bde199d86fbde4a78974a4043f9.zip CMake-ce935ebe50926bde199d86fbde4a78974a4043f9.tar.gz CMake-ce935ebe50926bde199d86fbde4a78974a4043f9.tar.bz2 |
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>
Diffstat (limited to 'Source/CPack/cmCPackGenerator.cxx')
-rw-r--r-- | Source/CPack/cmCPackGenerator.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/CPack/cmCPackGenerator.cxx b/Source/CPack/cmCPackGenerator.cxx index 006239a..ee255af 100644 --- a/Source/CPack/cmCPackGenerator.cxx +++ b/Source/CPack/cmCPackGenerator.cxx @@ -664,7 +664,7 @@ int cmCPackGenerator::InstallProjectViaInstallCMakeProjects( globalGenerator->GenerateBuildCommand(buildCommand, cmakeMakeProgram, installProjectName, installDirectory, globalGenerator->GetPreinstallTargetName(), - buildConfig, false); + buildConfig, false, false); std::string buildCommandStr = cmSystemTools::PrintSingleCommand(buildCommand); cmCPackLogger(cmCPackLog::LOG_DEBUG, |