diff options
author | Brad King <brad.king@kitware.com> | 2021-02-18 15:25:07 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2021-02-18 15:55:10 (GMT) |
commit | dd6165fbd4d2898cc14222495c6deacd33dc6694 (patch) | |
tree | 43fffe7e9fc12b70c2958f8a0829a56a3d5d8545 /Help/manual | |
parent | cdbd1ae64bb61da1932033909fb93d600594cdf2 (diff) | |
download | CMake-dd6165fbd4d2898cc14222495c6deacd33dc6694.zip CMake-dd6165fbd4d2898cc14222495c6deacd33dc6694.tar.gz CMake-dd6165fbd4d2898cc14222495c6deacd33dc6694.tar.bz2 |
Help: Mention version 2 in cmake-presets(7)
Version 2 is required for build and test presets.
Fixes: #21829
Diffstat (limited to 'Help/manual')
-rw-r--r-- | Help/manual/cmake-presets.7.rst | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/Help/manual/cmake-presets.7.rst b/Help/manual/cmake-presets.7.rst index 49eb157..3be6c6f 100644 --- a/Help/manual/cmake-presets.7.rst +++ b/Help/manual/cmake-presets.7.rst @@ -38,8 +38,8 @@ The root object recognizes the following fields: ``version`` - A required integer representing the version of the JSON schema. Currently, - the only supported version is 1. + A required integer representing the version of the JSON schema. + The supported versions are ``1`` and ``2``. ``cmakeMinimumRequired`` @@ -70,14 +70,17 @@ The root object recognizes the following fields: ``configurePresets`` An optional array of `Configure Preset`_ objects. + This is allowed in preset files specifying version 1 or above. ``buildPresets`` An optional array of `Build Preset`_ objects. + This is allowed in preset files specifying version 2 or above. ``testPresets`` An optional array of `Test Preset`_ objects. + This is allowed in preset files specifying version 2 or above. Configure Preset ^^^^^^^^^^^^^^^^ |