mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-06 05:40:54 -06:00
Merge topic 'autogen-rsp'
232610e60eAutogen: Use new API for limiting autogen command line lengths7a07887055Autogen: Add support for response files for moc predef targets7eb5ab2c63Autogen: Generalize MaybeWriteMocResponseFile to MaybeWriteResponseFile Acked-by: Kitware Robot <kwrobot@kitware.com> Tested-by: buildbot <buildbot@kitware.com> Merge-request: !8944
This commit is contained in:
@@ -130,6 +130,7 @@ Properties on Targets
|
||||
/prop_tgt/ARCHIVE_OUTPUT_NAME
|
||||
/prop_tgt/ARCHIVE_OUTPUT_NAME_CONFIG
|
||||
/prop_tgt/AUTOGEN_BUILD_DIR
|
||||
/prop_tgt/AUTOGEN_COMMAND_LINE_LENGTH_MAX
|
||||
/prop_tgt/AUTOGEN_ORIGIN_DEPENDS
|
||||
/prop_tgt/AUTOGEN_PARALLEL
|
||||
/prop_tgt/AUTOGEN_TARGET_DEPENDS
|
||||
|
||||
@@ -400,6 +400,7 @@ Variables that Control the Build
|
||||
/variable/CMAKE_APPLE_SILICON_PROCESSOR
|
||||
/variable/CMAKE_ARCHIVE_OUTPUT_DIRECTORY
|
||||
/variable/CMAKE_ARCHIVE_OUTPUT_DIRECTORY_CONFIG
|
||||
/variable/CMAKE_AUTOGEN_COMMAND_LINE_LENGTH_MAX
|
||||
/variable/CMAKE_AUTOGEN_ORIGIN_DEPENDS
|
||||
/variable/CMAKE_AUTOGEN_PARALLEL
|
||||
/variable/CMAKE_AUTOGEN_USE_SYSTEM_INCLUDE
|
||||
|
||||
18
Help/prop_tgt/AUTOGEN_COMMAND_LINE_LENGTH_MAX.rst
Normal file
18
Help/prop_tgt/AUTOGEN_COMMAND_LINE_LENGTH_MAX.rst
Normal file
@@ -0,0 +1,18 @@
|
||||
AUTOGEN_COMMAND_LINE_LENGTH_MAX
|
||||
-------------------------------
|
||||
|
||||
.. versionadded:: 3.29
|
||||
|
||||
Command line length limit for autogen targets, i.e. ``moc`` or ``uic``,
|
||||
that triggers the use of response files on Windows instead of passing all
|
||||
arguments to the command line.
|
||||
|
||||
- An empty (or unset) value sets the limit to 32000
|
||||
- A positive non zero integer value sets the exact command line length
|
||||
limit.
|
||||
|
||||
By default ``AUTOGEN_COMMAND_LINE_LENGTH_MAX`` is initialized from
|
||||
:variable:`CMAKE_AUTOGEN_COMMAND_LINE_LENGTH_MAX`.
|
||||
|
||||
See the :manual:`cmake-qt(7)` manual for more information on using CMake
|
||||
with Qt.
|
||||
@@ -247,5 +247,9 @@ will be generated when this variable is ``ON``.
|
||||
This target property controls the number of ``moc`` or ``uic`` processes to
|
||||
start in parallel during builds.
|
||||
|
||||
:prop_tgt:`AUTOGEN_COMMAND_LINE_LENGTH_MAX`:
|
||||
This target property controls the limit when to use response files for
|
||||
``moc`` or ``uic`` processes on Windows.
|
||||
|
||||
See the :manual:`cmake-qt(7)` manual for more information on using CMake
|
||||
with Qt.
|
||||
|
||||
@@ -81,5 +81,9 @@ will be generated when this variable is ``ON``.
|
||||
This target property controls the number of ``moc`` or ``uic`` processes to
|
||||
start in parallel during builds.
|
||||
|
||||
:prop_tgt:`AUTOGEN_COMMAND_LINE_LENGTH_MAX`:
|
||||
This target property controls the limit when to use response files for
|
||||
``moc`` or ``uic`` processes on Windows.
|
||||
|
||||
See the :manual:`cmake-qt(7)` manual for more information on using CMake
|
||||
with Qt.
|
||||
|
||||
10
Help/variable/CMAKE_AUTOGEN_COMMAND_LINE_LENGTH_MAX.rst
Normal file
10
Help/variable/CMAKE_AUTOGEN_COMMAND_LINE_LENGTH_MAX.rst
Normal file
@@ -0,0 +1,10 @@
|
||||
CMAKE_AUTOGEN_COMMAND_LINE_LENGTH_MAX
|
||||
-------------------------------------
|
||||
|
||||
.. versionadded:: 3.29
|
||||
|
||||
Command line length limit for autogen targets, i.e. ``moc`` or ``uic``,
|
||||
that triggers the use of response files on Windows instead of passing all
|
||||
arguments to the command line.
|
||||
|
||||
By default ``CMAKE_AUTOGEN_COMMAND_LINE_LENGTH_MAX`` is unset.
|
||||
Reference in New Issue
Block a user