|
|
@@ -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 ``<jobs>`` omitted; additionally, it does not accept
|
|
|
- negative values.
|
|
|
+ ``--parallel`` with ``<jobs>`` 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 <Build Preset_>`_
|
|
|
-
|
|
|
- * The `jobs <CMakePresets build jobs_>`_ field no longer accepts negative
|
|
|
- values.
|
|
|
-
|
|
|
* Changes to `Test Presets <Test Preset_>`_
|
|
|
|
|
|
* The `jobs <CMakePresets test jobs_>`_ field now accepts an empty string
|
|
|
representing :option:`--parallel <ctest --parallel>` with ``<jobs>``
|
|
|
- omitted. In addition, when an integer is specified, it must not be
|
|
|
- negative.
|
|
|
+ omitted.
|
|
|
|
|
|
Schema
|
|
|
======
|