-
Notifications
You must be signed in to change notification settings - Fork 93
/
CMakePresets.json
127 lines (127 loc) · 3.42 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
114
115
116
117
118
119
120
121
122
123
124
125
126
127
{
"version": 2,
"configurePresets": [
{
"name": "release",
"displayName": "release",
"generator": "Ninja",
"binaryDir": "${sourceDir}/build/${presetName}",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Release",
"ENABLE_COLOR_OUTPUT": "ON",
"CMAKE_EXPORT_COMPILE_COMMANDS": "ON",
"ENABLE_LTO": "ON"
}
},
{
"name": "debug",
"displayName": "Debug",
"generator": "Ninja",
"binaryDir": "${sourceDir}/build/${presetName}",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Debug",
"ENABLE_TESTS": "ON",
"ENABLE_COLOR_OUTPUT": "ON",
"CMAKE_EXPORT_COMPILE_COMMANDS": "ON",
"CMAKE_CXX_COMPILER_LAUNCHER": "ccache",
"SANITIZE_UNDEFINED": "ON"
},
"environment": {
"CXX": "clang++",
"CC": "clang"
},
"warnings": {
"dev": true
}
},
{
"name": "debug-gcc",
"displayName": "debug-gcc",
"inherits": "debug",
"cacheVariables": {
"ENABLE_COVERAGE": "ON"
},
"environment": {
"CXX": "g++",
"CC": "gcc"
}
},
{
"name": "asan",
"displayName": "asan",
"inherits": "debug",
"cacheVariables": {
"SANITIZE_UNDEFINED": "OFF",
"SANITIZE_ADDRESS": "ON"
}
},
{
"name": "ci",
"displayName": "Continuous Integration for Qt5",
"inherits": "asan",
"cacheVariables": {
"DISABLE_UPDATER": "ON",
"ENABLE_COVERAGE": "ON",
"ENABLE_MOLD_LINKER": "OFF",
"CMAKE_CXX_COMPILER_LAUNCHER": null,
"MEDIAELCH_FORCE_QT5": "ON",
"MEDIAELCH_FORCE_QT6": "OFF"
},
"environment": {
"CXX": "g++",
"CC": "gcc"
}
},
{
"name": "ci-qt6",
"displayName": "Continuous Integration for Qt6",
"inherits": "ci",
"cacheVariables": {
"MEDIAELCH_FORCE_QT5": "OFF",
"MEDIAELCH_FORCE_QT6": "ON"
}
},
{
"name": "clazy",
"displayName": "clazy",
"inherits": "debug",
"cacheVariables": {
"USE_EXTERN_QUAZIP": "ON"
},
"environment": {
"CXX": "clazy",
"CC": "clang"
}
}
],
"buildPresets": [
{
"name": "release",
"configurePreset": "release"
},
{
"name": "asan",
"configurePreset": "asan"
},
{
"name": "debug",
"configurePreset": "debug"
},
{
"name": "debug-gcc",
"configurePreset": "debug-gcc"
},
{
"name": "clazy",
"configurePreset": "clazy"
},
{
"name": "ci",
"configurePreset": "ci"
},
{
"name": "ci-qt6",
"configurePreset": "ci-qt6"
}
]
}