-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathCMakePresets.json
More file actions
160 lines (156 loc) · 4.65 KB
/
Copy pathCMakePresets.json
File metadata and controls
160 lines (156 loc) · 4.65 KB
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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
{
"version": 6,
"cmakeMinimumRequired": {
"major": 3,
"minor": 25,
"patch": 0
},
"configurePresets": [
{
"name": "base",
"description": "General settings that apply to all configurations",
"hidden": true,
"generator": "Unix Makefiles"
},
{
"name": "base-release",
"description": "Release build with debug info",
"inherits": "base",
"hidden": true,
"binaryDir": "build/release",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "RelWithDebInfo"
}
},
{
"name": "base-debug",
"description": "Debug build",
"inherits": "base",
"hidden": true,
"binaryDir": "build/debug",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Debug"
}
},
{
"name": "base-user",
"description": "CML user settings. Build the library, not anything extra.",
"hidden": true,
"cacheVariables": {
"CML_BUILD_UNIT_TESTS": "OFF",
"CML_CODE_COVERAGE": "OFF",
"CML_WARNINGS_AS_ERRORS": "OFF"
}
},
{
"name": "base-dev",
"description": "CML developer settings. Builds everything.",
"hidden": true,
"cacheVariables": {
"CML_BUILD_UNIT_TESTS": "ON",
"CML_CODE_COVERAGE": "ON",
"CML_WARNINGS_AS_ERRORS": "ON"
}
},
{
"name": "user-debug",
"description": "Debug build for users",
"inherits": ["base-user", "base-debug"]
},
{
"name": "user-release",
"description": "Release build for users. Probably what you want.",
"inherits": ["base-user", "base-release"]
},
{
"name": "dev",
"description": "CML developer build. If you're not directly working on CML, this isn't for you.",
"inherits": ["base-dev", "base-debug"]
}
],
"buildPresets": [
{
"name": "user-debug",
"description": "Build CML in debug mode",
"configurePreset": "user-debug",
"targets": ["trickify", "install"]
},
{
"name": "user-release",
"description": "Build CML in release mode",
"configurePreset": "user-release",
"targets": ["trickify", "install"]
},
{
"name": "dev",
"description": "CML developer build. If you're not directly working on CML, this isn't for you.",
"configurePreset": "dev",
"targets": ["trickify", "install"]
}
],
"testPresets": [
{
"name": "default",
"configurePreset": "dev",
"output": {
"outputOnFailure": true
},
"execution": {
"noTestsAction": "error",
"stopOnFailure": true,
"verbosity": "verbose"
}
}
],
"workflowPresets": [
{
"name": "user-debug",
"description": "Build CML in debug mode",
"displayName": "Build only CML with debug information",
"steps": [
{
"type": "configure",
"name": "user-debug"
},
{
"type": "build",
"name": "user-debug"
}
]
},
{
"name": "user-release",
"description": "Build CML in release mode",
"displayName": "Build only CML with optimizations (probably what you should use)",
"steps": [
{
"type": "configure",
"name": "user-release"
},
{
"type": "build",
"name": "user-release"
}
]
},
{
"name": "dev",
"description": "CML developer build",
"displayName": "Build CML and all other extra targets, like tests and documentation",
"steps": [
{
"type": "configure",
"name": "dev"
},
{
"type": "build",
"name": "dev"
},
{
"type": "test",
"name": "default"
}
]
}
]
}