-
Notifications
You must be signed in to change notification settings - Fork 7
/
CMakePresets.json
106 lines (106 loc) · 2.8 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
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
{
"version": 3,
"cmakeMinimumRequired": {
"major": 3,
"minor": 5,
"patch": 0
},
"configurePresets": [
{
"name": "base",
"hidden": true,
"generator": "Ninja",
"cacheVariables": {
"WARPDRIVE_BUILD_STATIC": "OFF"
}
},
{
"name": "base-debug",
"inherits": "base",
"hidden": true,
"cacheVariables": {
"WARPDRIVE_BUILD_INTEGRATION": "ON",
"WARPDRIVE_BUILD_TESTS": "ON",
"WARPDRIVE_EXTRA_ERROR_CONTEXT": "ON",
"CMAKE_BUILD_TYPE": "Debug"
}
},
{
"name": "base-release",
"inherits": "base",
"hidden": true,
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Release"
}
},
{
"name": "base-benchmarks",
"inherits": "base",
"hidden": true,
"cacheVariables": {
"WARPDRIVE_BUILD_BENCHMARKS": "ON",
"WARPDRIVE_BUILD_BENCHMARKS_REFERENCE": "ON",
"CMAKE_BUILD_TYPE": "RelWithDebInfo"
}
},
{
"name": "features-minimal",
"hidden": true,
"cacheVariables": {
}
},
{
"name": "features-basic",
"inherits": "features-minimal",
"hidden": true,
"cacheVariables": {
}
},
{
"name": "features-main",
"inherits": "features-basic",
"hidden": true,
"cacheVariables": {
}
},
{
"name": "ninja-debug-minimal",
"inherits": ["base-debug", "features-minimal"],
"displayName": "Debug build without anything enabled",
"cacheVariables": {
"WARPDRIVE_BUILD_INTEGRATION": "OFF",
"WARPDRIVE_BUILD_TESTS": "OFF"
}
},
{
"name": "ninja-debug-basic",
"inherits": ["base-debug", "features-basic"],
"displayName": "Debug build with tests and reduced dependencies",
"cacheVariables": {}
},
{
"name": "ninja-debug",
"inherits": ["base-debug", "features-main"],
"displayName": "Debug build with tests and more optional components",
"cacheVariables": {}
},
{
"name": "ninja-release-minimal",
"inherits": ["base-release", "features-minimal"],
"displayName": "Release build without anything enabled",
"cacheVariables": {}
},
{
"name": "ninja-release-basic",
"inherits": ["base-release", "features-basic"],
"displayName": "Release build with reduced dependencies",
"cacheVariables": {}
},
{
"name": "ninja-release",
"inherits": ["base-release", "features-main"],
"displayName": "Release build with more optional components",
"cacheVariables": {}
}
]
}