diff options
author | Florian Maushart <FloriansGit@online.ms> | 2019-01-24 18:31:18 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2019-01-28 14:44:50 (GMT) |
commit | 439fe2e253410305ff7018416ff5ff26aa851d53 (patch) | |
tree | 5fd4875e35c4c737b40e08a658db0e935df09fc9 /Source/cmake.h | |
parent | 638667efa2b0e5fff5c63bf936748a60b602ae90 (diff) | |
download | CMake-439fe2e253410305ff7018416ff5ff26aa851d53.zip CMake-439fe2e253410305ff7018416ff5ff26aa851d53.tar.gz CMake-439fe2e253410305ff7018416ff5ff26aa851d53.tar.bz2 |
cmake: Add options for verbose output to --build mode
While we already support `VERBOSE` environment variable and
`CMAKE_VERBOSE_MAKEFILE` cached variable, add `-v` and `--verbose`
command line options to be able to activate verbose output directly from
CMake's build tool mode command line.
Also make `msbuild` honor the verbosity setting. `xcodebuild` still
doesn't honor the verbosity setting as it will need a policy added
and reworking of cmGlobalGenerator and cmsys to support
multiple command invocation.
Diffstat (limited to 'Source/cmake.h')
-rw-r--r-- | Source/cmake.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/cmake.h b/Source/cmake.h index 9478ad0e..7ec1b64 100644 --- a/Source/cmake.h +++ b/Source/cmake.h @@ -430,7 +430,8 @@ public: ///! run the --build option int Build(int jobs, const std::string& dir, const std::string& target, const std::string& config, - const std::vector<std::string>& nativeOptions, bool clean); + const std::vector<std::string>& nativeOptions, bool clean, + bool verbose); ///! run the --open option bool Open(const std::string& dir, bool dryRun); |