diff options
author | Kyle Edwards <kyle.edwards@kitware.com> | 2020-10-14 19:10:28 (GMT) |
---|---|---|
committer | Kyle Edwards <kyle.edwards@kitware.com> | 2020-10-19 14:25:57 (GMT) |
commit | d30f85193f94d5e9e2a0d0d5f7fc161b79bfee3b (patch) | |
tree | 5415ef71cf91d6b9cc59d7a8a5c2575077e78adc /Help | |
parent | b9c8c57860fc88da421630e20aee5a369ebafba0 (diff) | |
download | CMake-d30f85193f94d5e9e2a0d0d5f7fc161b79bfee3b.zip CMake-d30f85193f94d5e9e2a0d0d5f7fc161b79bfee3b.tar.gz CMake-d30f85193f94d5e9e2a0d0d5f7fc161b79bfee3b.tar.bz2 |
Help: Move vendor field into example
This ensures that the vendor field gets automated testing from the
example.
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 + } + } } |