-
-
Notifications
You must be signed in to change notification settings - Fork 13
/
CMakePresets.json
113 lines (113 loc) · 3.15 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
107
108
109
110
111
112
113
{
"version": 3,
"cmakeMinimumRequired": {
"major": 3,
"minor": 21,
"patch": 0
},
"configurePresets": [
{
"name": "default",
"displayName": "Default Config",
"description": "Default config",
"generator": "Unix Makefiles",
"binaryDir": "${sourceDir}/build/default",
"cacheVariables": {
"CMAKE_CXX_COMPILER": "clang++",
"CMAKE_C_COMPILER": "clang",
"CMAKE_INSTALL_PREFIX": "${sourceDir}/build/default/install/",
"CMAKE_BUILD_TYPE": "Release"
},
"vendor": {
"example.com/ExampleIDE/1.0": {
"autoFormat": true
}
}
},
{
"name": "windows",
"displayName": "Windows 2022 Config",
"description": "Windows 2022 config",
"generator": "Visual Studio 17 2022",
"architecture": "x64",
"binaryDir": "${sourceDir}/build/windows",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Release"
},
"vendor": {
"example.com/ExampleIDE/1.0": {
"autoFormat": true
}
}
},
{
"name": "install-local",
"inherits": "default",
"displayName": "Build and Install system",
"description": "Build and Install in /usr/local",
"generator": "Unix Makefiles",
"binaryDir": "${sourceDir}/build/install-local",
"cacheVariables": {
"CMAKE_INSTALL_PREFIX": "/usr/local"
},
"vendor": {
"example.com/ExampleIDE/1.0": {
"autoFormat": true
}
}
}
],
"buildPresets": [
{
"name": "default",
"configurePreset": "default",
"configuration": "Release",
"jobs": 2
},
{
"name": "windows",
"configurePreset": "windows",
"configuration": "Release",
"jobs": 2
},
{
"name": "install-local",
"configurePreset": "install-local",
"inherits": "default",
"targets": [
"all",
"install",
"package"
]
}
],
"testPresets": [
{
"name": "default",
"configurePreset": "default",
"configuration": "Release",
"output": {
"outputOnFailure": true
},
"execution": {
"jobs": 2,
"noTestsAction": "error",
"stopOnFailure": false,
"repeat": {
"mode": "until-pass",
"count": 3
}
}
},
{
"name": "windows",
"configurePreset": "windows",
"inherits": "default"
}
],
"vendor": {
"example.com/ExampleIDE/1.0": {
"autoFormat": false
}
}
}