summaryrefslogtreecommitdiffstats
path: root/Source/cmCMakePresetsErrors.h
diff options
context:
space:
mode:
authorChenMoFeiJin <1424865872@qq.com>2023-09-07 12:04:02 (GMT)
committerChenMoFeiJin <1424865872@qq.com>2023-09-12 10:18:37 (GMT)
commitf1a717952020401502a109de7af211130251a067 (patch)
tree9b0503da4aa0fc58209c717169b4827ac749ff27 /Source/cmCMakePresetsErrors.h
parentf83771dfceb9d800d17955219b33e50eb155cc04 (diff)
downloadCMake-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.h2
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);
}