forked from berenger-eu/specx
-
Notifications
You must be signed in to change notification settings - Fork 0
/
CMakePresets.json
104 lines (104 loc) · 2.9 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 config",
"generator": "Unix Makefiles",
"binaryDir": "${sourceDir}/build/default",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Release",
"SPECX_DO_INSTALL": "ON",
"SPECX_BUILD_TESTS": "ON"
},
"vendor": {
"example.com/ExampleIDE/1.0": {
"autoFormat": true
}
}
},
{
"name": "install-usrlocal",
"inherits": "default",
"displayName": "Build and Install system",
"description": "Build and Install in /usr/local",
"generator": "Unix Makefiles",
"binaryDir": "${sourceDir}/build/install-local",
"cacheVariables": {
"CMAKE_CXX_COMPILER": "clang++",
"CMAKE_INSTALL_PREFIX": "/usr/local"
},
"vendor": {
"example.com/ExampleIDE/1.0": {
"autoFormat": true
}
}
},
{
"name": "install",
"inherits": "default",
"displayName": "Build and Install in user land",
"description": "Build and Install in user land",
"generator": "Unix Makefiles",
"binaryDir": "${sourceDir}/build/install",
"cacheVariables": {
"CMAKE_CXX_COMPILER": "clang++",
"CMAKE_INSTALL_PREFIX": "${sourceDir}/install/"
},
"vendor": {
"example.com/ExampleIDE/1.0": {
"autoFormat": true
}
}
}
],
"buildPresets": [
{
"name": "default",
"configurePreset": "default",
"jobs": 10
},
{
"name": "install-usrlocal",
"configurePreset": "install-usrlocal",
"inherits": "default",
"targets": [
"all","install","package"
]
},
{
"name": "install",
"configurePreset": "install",
"inherits": "default",
"targets": [
"all",
"install",
"package"
]
}
],
"testPresets": [
{
"name": "default",
"configurePreset": "default",
"output": {
"outputOnFailure": true
},
"execution": {
"noTestsAction": "error",
"stopOnFailure": true
}
}
],
"vendor": {
"example.com/ExampleIDE/1.0": {
"autoFormat": false
}
}
}