diff --git a/Help/manual/cmake-presets.7.rst b/Help/manual/cmake-presets.7.rst index 7ad9e5eeaa..8bbee0fa8f 100644 --- a/Help/manual/cmake-presets.7.rst +++ b/Help/manual/cmake-presets.7.rst @@ -553,8 +553,10 @@ that may contain the following fields: :envvar:`CMAKE_BUILD_PARALLEL_LEVEL` as an empty string using the ``environment`` field. - In preset files specifying version ``11`` or above, this field does not - accept negative values. + .. versionchanged:: 4.3 + + This field does not accept negative integer values, regardless of the + version in the preset file. ``targets`` An optional string or array of strings. Equivalent to passing @@ -904,8 +906,12 @@ that may contain the following fields: In preset files specifying version ``11`` or above, this field can also be a string, in which case it must be empty, and is equivalent to passing - ``--parallel`` with ```` omitted; additionally, it does not accept - negative values. + ``--parallel`` with ```` omitted. + + .. versionchanged:: 4.3 + + This field does not accept negative integer values, regardless of the + version in the preset file. ``resourceSpecFile`` An optional string. Equivalent to passing @@ -1460,17 +1466,11 @@ they were added and a summary of the new features and changes is given below. ``11`` .. versionadded:: 4.3 - * Changes to `Build Presets `_ - - * The `jobs `_ field no longer accepts negative - values. - * Changes to `Test Presets `_ * The `jobs `_ field now accepts an empty string representing :option:`--parallel ` with ```` - omitted. In addition, when an integer is specified, it must not be - negative. + omitted. Schema ====== diff --git a/Help/release/4.3.rst b/Help/release/4.3.rst index b05ad037a2..9db39e10c7 100644 --- a/Help/release/4.3.rst +++ b/Help/release/4.3.rst @@ -48,6 +48,15 @@ Instrumentation :ref:`Google Trace Event Format ` files may be generated to visualize instrumentation data. +Presets +------- + +* :manual:`cmake-presets(7)` files now support schema version ``11``. + The ``jobs`` field under test presets now supports an empty string, to + match the behavior of :option:`ctest --parallel` with the value omitted. +* The ``jobs`` field under both build and test presets no longer accept + negative integer values, regardless of the schema version. + File-Based API --------------