Browse Source

Help: Fix version numbers in CMakePresets.json documentation

Kyle Edwards 4 years ago
parent
commit
79d03ab505
1 changed files with 6 additions and 5 deletions
  1. 6 5
      Help/manual/cmake-presets.7.rst

+ 6 - 5
Help/manual/cmake-presets.7.rst

@@ -39,7 +39,7 @@ The root object recognizes the following fields:
 ``version``
 
   A required integer representing the version of the JSON schema.
-  The supported versions are ``1`` and ``2``.
+  The supported versions are ``1``, ``2``, and ``3``.
 
 ``cmakeMinimumRequired``
 
@@ -70,17 +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.
+  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.
+  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.
+  This is allowed in preset files specifying version ``2`` or above.
 
 Configure Preset
 ^^^^^^^^^^^^^^^^
@@ -187,7 +187,8 @@ that may contain the following fields:
 
   An optional string representing the path to the installation directory.
   This field supports `macro expansion`_. If a relative path is specified,
-  it is calculated relative to the source directory.
+  it is calculated relative to the source directory. This is allowed in
+  preset files specifying version ``3`` or above.
 
 ``cmakeExecutable``