diff options
author | ChenMoFeiJin <1424865872@qq.com> | 2023-09-07 12:04:02 (GMT) |
---|---|---|
committer | ChenMoFeiJin <1424865872@qq.com> | 2023-09-12 10:18:37 (GMT) |
commit | f1a717952020401502a109de7af211130251a067 (patch) | |
tree | 9b0503da4aa0fc58209c717169b4827ac749ff27 /Source/cmCMakePresetsErrors.h | |
parent | f83771dfceb9d800d17955219b33e50eb155cc04 (diff) | |
download | CMake-f1a717952020401502a109de7af211130251a067.zip CMake-f1a717952020401502a109de7af211130251a067.tar.gz CMake-f1a717952020401502a109de7af211130251a067.tar.bz2 |
presets: Add $schema property to JSON schema
Many modern code editors have support for JSON Schema. When you specify
the `$schema` property in a JSON file, the editor can provide features
like auto-completion, error checking, etc., which can improve your
efficiency when writing and modifying the `CMakePresets.json` file.
Diffstat (limited to 'Source/cmCMakePresetsErrors.h')
-rw-r--r-- | Source/cmCMakePresetsErrors.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/cmCMakePresetsErrors.h b/Source/cmCMakePresetsErrors.h index 14aaed7..b755c25 100644 --- a/Source/cmCMakePresetsErrors.h +++ b/Source/cmCMakePresetsErrors.h @@ -113,4 +113,6 @@ JsonErrors::ErrorGenerator INVALID_ROOT_OBJECT( void PRESET_MISSING_FIELD(const std::string& presetName, const std::string& missingField, cmJSONState* state); + +void SCHEMA_UNSUPPORTED(cmJSONState* state); } |