mirror of
https://github.com/Kitware/CMake.git
synced 2026-05-03 12:49:50 -05:00
Merge topic 'add_consistent_verbose_build_flag'
66801f4d40cmake: Add tests for verbose output to --build mode439fe2e253cmake: Add options for verbose output to --build mode638667efa2cmake: cmcmd.cxx fix "The arguments are" comments3ca4402966ctest: Fix --build-and-test without --build-target on Xcodecb6c233ecccmake: Add -hideShellScriptEnvironment xcodebuild option1a45266cb5cmGlobalGenerator: Add a class that represent the build command Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2708
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
CMAKE_NO_VERBOSE
|
||||
----------------
|
||||
|
||||
Disables verbose output from CMake when :envvar:`VERBOSE` environment variable
|
||||
is set.
|
||||
|
||||
Only your build tool of choice will still print verbose output when you start
|
||||
to actually build your project.
|
||||
@@ -0,0 +1,10 @@
|
||||
VERBOSE
|
||||
-------
|
||||
|
||||
Activates verbose output from CMake and your build tools of choice when
|
||||
you start to actually build your project.
|
||||
|
||||
Note that any given value is ignored. It's just checked for existence.
|
||||
|
||||
See also :ref:`Build Tool Mode <Build Tool Mode>` and
|
||||
:envvar:`CMAKE_NO_VERBOSE` environment variable
|
||||
@@ -24,11 +24,13 @@ Environment Variables that Control the Build
|
||||
/envvar/CMAKE_BUILD_PARALLEL_LEVEL
|
||||
/envvar/CMAKE_CONFIG_TYPE
|
||||
/envvar/CMAKE_MSVCIDE_RUN_PATH
|
||||
/envvar/CMAKE_NO_VERBOSE
|
||||
/envvar/CMAKE_OSX_ARCHITECTURES
|
||||
/envvar/DESTDIR
|
||||
/envvar/LDFLAGS
|
||||
/envvar/MACOSX_DEPLOYMENT_TARGET
|
||||
/envvar/PackageName_ROOT
|
||||
/envvar/VERBOSE
|
||||
|
||||
Environment Variables for Languages
|
||||
===================================
|
||||
|
||||
@@ -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.
|
||||
|
||||
|
||||
@@ -0,0 +1,6 @@
|
||||
cmake-build-verbose
|
||||
-------------------
|
||||
|
||||
* The :manual:`cmake(1)` :ref:`Build Tool Mode` (``cmake --build``) gained
|
||||
``--verbose`` and ``-v`` options to specify verbose build output. Some
|
||||
generators such as Xcode don't support this option currently.
|
||||
Reference in New Issue
Block a user