-
Notifications
You must be signed in to change notification settings - Fork 0
/
CMakePresets.json
87 lines (87 loc) · 1.68 KB
/
CMakePresets.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
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
{
"version": 3,
"cmakeMinimumRequired": {
"major": 3,
"minor": 19,
"patch": 0
},
"configurePresets": [
{
"name": "_base",
"hidden": true,
"description": "common configuration options",
"generator": "Ninja",
"cacheVariables": {
"CPM_SOURCE_CACHE": "./build/cpm",
"CMAKE_POLICY_DEFAULT_CMP0091": "NEW"
}
},
{
"name": "Debug",
"inherits": [
"_base"
],
"displayName": "Debugconfig",
"description": "",
"cacheVariables": {
"BUILD_TESTING": "ON",
"CMAKE_BUILD_TYPE": "Debug"
},
"binaryDir": "./build/Debug"
},
{
"name": "Release",
"inherits": [
"_base"
],
"displayName": "Release config",
"description": "",
"cacheVariables": {
"BUILD_TESTING": "OFF",
"CMAKE_BUILD_TYPE": "Release"
},
"binaryDir": "./build/Release"
}
],
"buildPresets": [
{
"name": "Debug",
"configurePreset": "Debug"
},
{
"name": "Release",
"configurePreset": "Release"
}
],
"testPresets": [
{
"name": "_base",
"hidden": true,
"description": "common CTest config",
"output": {
"shortProgress": true,
"outputOnFailure": true
},
"execution": {
"scheduleRandom": true,
"enableFailover": true,
"noTestsAction": "error",
"jobs": 0
}
},
{
"name": "Debug",
"inherits": [
"_base"
],
"configurePreset": "Debug"
},
{
"name": "Release",
"inherits": [
"_base"
],
"configurePreset": "Release"
}
]
}