mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-06 05:40:54 -06:00
Help: Move vendor field into example
This ensures that the vendor field gets automated testing from the example.
This commit is contained in:
@@ -65,19 +65,7 @@ Format
|
|||||||
it does exist. However, the keys should be a vendor-specific domain name
|
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
|
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
|
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:
|
desired by the vendor, though will typically be a map.
|
||||||
|
|
||||||
.. code-block:: json
|
|
||||||
|
|
||||||
{
|
|
||||||
"version": 1,
|
|
||||||
"vendor": {
|
|
||||||
"example.com/ExampleIDE/1.0": {
|
|
||||||
"autoFormat": true
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"configurePresets": []
|
|
||||||
}
|
|
||||||
|
|
||||||
``configurePresets``
|
``configurePresets``
|
||||||
|
|
||||||
|
|||||||
@@ -17,7 +17,17 @@
|
|||||||
"type": "BOOL",
|
"type": "BOOL",
|
||||||
"value": "OFF"
|
"value": "OFF"
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
"vendor": {
|
||||||
|
"example.com/ExampleIDE/1.0": {
|
||||||
|
"autoFormat": true
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"vendor": {
|
||||||
|
"example.com/ExampleIDE/1.0": {
|
||||||
|
"autoFormat": false
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
]
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user