-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcmake-config-schema.json
59 lines (59 loc) · 1.67 KB
/
cmake-config-schema.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"title": "CMake Configuration",
"description": "A configuration file that helps setup CMake with some automation modules",
"type": "object",
"properties": {
"dependencies": {
"type": "array",
"description": "Dependencies to fetch using FetchContent",
"items": {
"type": "object",
"description": "A single dependency to fetch",
"properties": {
"name": {
"type": "string"
},
"url": {
"type": "string"
},
"version": {
"type": "string"
},
"condition": {
"type": "string",
"description": "A variable name that would define a variable that must true to not skip the dependency"
},
"options": {
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string"
},
"value": {
"type": "string",
"description": "A value for the option. You can also use CMake variables inside these if you want the version to be dependent on other configurations"
}
},
"required": [
"name",
"value"
]
}
},
"recurse_submodules": {
"type": "boolean",
"description": "Whether or not to download submodules recursively"
}
},
"required": [
"name",
"url",
"version"
]
}
}
}
}