summaryrefslogtreecommitdiffstats
path: root/Help/manual/cmake.1.rst
diff options
context:
space:
mode:
authorFlorian Maushart <FloriansGit@online.ms>2019-01-24 18:31:18 (GMT)
committerBrad King <brad.king@kitware.com>2019-01-28 14:44:50 (GMT)
commit439fe2e253410305ff7018416ff5ff26aa851d53 (patch)
tree5fd4875e35c4c737b40e08a658db0e935df09fc9 /Help/manual/cmake.1.rst
parent638667efa2b0e5fff5c63bf936748a60b602ae90 (diff)
downloadCMake-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 'Help/manual/cmake.1.rst')
-rw-r--r--Help/manual/cmake.1.rst8
1 files changed, 8 insertions, 0 deletions
diff --git a/Help/manual/cmake.1.rst b/Help/manual/cmake.1.rst
index 915e0d4..77178b8 100644
--- a/Help/manual/cmake.1.rst
+++ b/Help/manual/cmake.1.rst
@@ -289,6 +289,14 @@ following options:
``--use-stderr``
Ignored. Behavior is default in CMake >= 3.0.
+``-v, --verbose``
+ Enable verbose output - if supported - including the build commands to be
+ executed.
+
+ This option can be omitted if :envvar:`VERBOSE` environment variable or
+ :variable:`CMAKE_VERBOSE_MAKEFILE` cached variable is set.
+
+
``--``
Pass remaining options to the native tool.