-
Notifications
You must be signed in to change notification settings - Fork 0
/
CMakePresets.json
104 lines (104 loc) · 2.93 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
{
"version": 3,
"cmakeMinimumRequired": {
"major": 3,
"minor": 21,
"patch": 0
},
"configurePresets": [
{
"name": "default",
"displayName": "Default Config",
"description": "Default build using Ninja generator",
"binaryDir": "${sourceDir}/build",
"generator": "Ninja",
"cacheVariables": {
"ROLLNW_BUILD_BENCHMARKS": {
"type": "BOOL",
"value": "OFF"
},
"BUILD_TESTING": {
"type": "BOOL",
"value": "OFF"
},
"FMT_INSTALL": {
"type": "BOOL",
"value": "OFF"
},
"SKIP_INSTALL_ALL": {
"type": "BOOL",
"value": "ON"
},
"BENCHMARK_ENABLE_INSTALL": {
"type": "BOOL",
"value": "OFF"
},
"INSTALL_GTEST": {
"type": "BOOL",
"value": "OFF"
}
}
},
{
"name": "windows",
"inherits": "default",
"generator": "Ninja",
"displayName": "Windows-only configuration",
"description": "This build is only available on Windows",
"binaryDir": "${sourceDir}/build",
"condition": {
"type": "equals",
"lhs": "${hostSystemName}",
"rhs": "Windows"
},
"architecture": {
"value": "x64",
"strategy": "external"
},
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Release"
}
},
{
"name": "windows-debug",
"inherits": "windows",
"generator": "Visual Studio 16 2019",
"binaryDir": "${sourceDir}/build-debug",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Debug"
}
},
{
"name": "macos",
"inherits": "default",
"displayName": "Default Config for macOS",
"cacheVariables": {
"CMAKE_OSX_DEPLOYMENT_TARGET": "13",
"CMAKE_OSX_ARCHITECTURES": "x86_64;arm64"
}
}
],
"buildPresets": [
{
"name": "default",
"configurePreset": "default"
},
{
"name": "windows-debug",
"configurePreset": "windows-debug"
}
],
"testPresets": [
{
"name": "default",
"configurePreset": "default",
"output": {
"outputOnFailure": true
},
"execution": {
"noTestsAction": "error",
"stopOnFailure": true
}
}
]
}