Autogen: Add support for response files for moc predef targets

Add support for response files for moc predef targets and make the limit when
to use response files for autogen targets configurable.
This commit is contained in:
tophoo
2023-11-08 16:34:19 +01:00
parent 7eb5ab2c63
commit 7a07887055
11 changed files with 88 additions and 1 deletions
@@ -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.