diff options
Diffstat (limited to 'Help')
-rw-r--r-- | Help/manual/cmake-presets.7.rst | 14 | ||||
-rw-r--r-- | Help/manual/presets/example.json | 12 |
2 files changed, 12 insertions, 14 deletions
diff --git a/Help/manual/cmake-presets.7.rst b/Help/manual/cmake-presets.7.rst index e48722b..c93df20 100644 --- a/Help/manual/cmake-presets.7.rst +++ b/Help/manual/cmake-presets.7.rst @@ -65,19 +65,7 @@ Format it does exist. However, the keys should be a vendor-specific domain name followed by a ``/``-separated path. For example, the Example IDE 1.0 could use ``example.com/ExampleIDE/1.0``. The value of each field can be anything - desired by the vendor, though will typically be a map. For example: - - .. code-block:: json - - { - "version": 1, - "vendor": { - "example.com/ExampleIDE/1.0": { - "autoFormat": true - } - }, - "configurePresets": [] - } + desired by the vendor, though will typically be a map. ``configurePresets`` diff --git a/Help/manual/presets/example.json b/Help/manual/presets/example.json index a299a06..c68fa22 100644 --- a/Help/manual/presets/example.json +++ b/Help/manual/presets/example.json @@ -17,7 +17,17 @@ "type": "BOOL", "value": "OFF" } + }, + "vendor": { + "example.com/ExampleIDE/1.0": { + "autoFormat": true + } } } - ] + ], + "vendor": { + "example.com/ExampleIDE/1.0": { + "autoFormat": false + } + } } |