forked from KDAB/GammaRay
-
Notifications
You must be signed in to change notification settings - Fork 0
/
CMakePresets.json
155 lines (155 loc) · 5.01 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
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
{
"version": 2,
"configurePresets": [
{
"name": "dev",
"displayName": "dev",
"generator": "Ninja",
"binaryDir": "${sourceDir}/build-dev",
"cacheVariables": {
"QT_VERSION_MAJOR": "5",
"CMAKE_BUILD_TYPE": "Debug",
"CMAKE_EXPORT_COMPILE_COMMANDS": "ON",
"GAMMARAY_USE_PCH": "ON"
}
},
{
"name": "dev6",
"displayName": "dev qt6",
"generator": "Ninja",
"binaryDir": "${sourceDir}/build-dev-qt6",
"cacheVariables": {
"QT_VERSION_MAJOR": "6",
"GAMMARAY_USE_PCH": "ON",
"CMAKE_BUILD_TYPE": "Debug",
"CMAKE_EXPORT_COMPILE_COMMANDS": "ON"
}
},
{
"name": "dev-asan",
"displayName": "dev-asan",
"generator": "Ninja",
"binaryDir": "${sourceDir}/build-dev-asan",
"cacheVariables": {
"QT_VERSION_MAJOR": "5",
"ECM_ENABLE_SANITIZERS": "address,undefined",
"CMAKE_BUILD_TYPE": "Debug",
"GAMMARAY_USE_PCH": "ON",
"CMAKE_EXPORT_COMPILE_COMMANDS": "ON"
}
},
{
"name": "dev-asan6",
"displayName": "dev-asan qt6",
"generator": "Ninja",
"binaryDir": "${sourceDir}/build-dev-asan6",
"cacheVariables": {
"ECM_ENABLE_SANITIZERS": "address,undefined",
"CMAKE_BUILD_TYPE": "Debug",
"GAMMARAY_USE_PCH": "ON",
"QT_VERSION_MAJOR": "6",
"CMAKE_EXPORT_COMPILE_COMMANDS": "ON"
}
},
{
"name": "dev-ftime-trace",
"displayName": "dev-ftime-trace",
"generator": "Ninja",
"binaryDir": "${sourceDir}/build-dev-ftime-trace",
"cacheVariables": {
"QT_VERSION_MAJOR": "5",
"CMAKE_BUILD_TYPE": "Debug",
"GAMMARAY_USE_PCH": "ON",
"CMAKE_C_FLAGS_INIT": "-ftime-trace",
"CMAKE_CXX_FLAGS_INIT": "-ftime-trace"
},
"environment": {
"CC": "/usr/bin/clang",
"CXX": "/usr/bin/clang++",
"CCACHE_DISABLE": "ON"
}
},
{
"name": "dev-clang",
"displayName": "dev-clang",
"generator": "Ninja",
"binaryDir": "${sourceDir}/build-dev-clang",
"cacheVariables": {
"QT_VERSION_MAJOR": "5",
"CMAKE_BUILD_TYPE": "Debug",
"GAMMARAY_USE_PCH": "ON",
"CMAKE_EXPORT_COMPILE_COMMANDS": "ON"
},
"environment": {
"CXX": "clang++",
"CCACHE_DISABLE": "ON"
}
},
{
"name": "dev-clang6",
"displayName": "dev-clang qt6",
"generator": "Ninja",
"binaryDir": "${sourceDir}/build-dev-clang6",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Debug",
"GAMMARAY_USE_PCH": "ON",
"QT_VERSION_MAJOR": "6"
},
"environment": {
"CXX": "clang++",
"CCACHE_DISABLE": "ON"
}
},
{
"name": "clazy",
"displayName": "clazy",
"generator": "Ninja",
"binaryDir": "${sourceDir}/build-clazy",
"cacheVariables": {
"QT_VERSION_MAJOR": "5",
"CMAKE_BUILD_TYPE": "Debug"
},
"environment": {
"CXX": "clazy",
"CCACHE_DISABLE": "ON"
}
},
{
"name": "clazy6",
"displayName": "clazy",
"generator": "Ninja",
"binaryDir": "${sourceDir}/build-clazy6",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Debug",
"QT_VERSION_MAJOR": "6"
},
"environment": {
"CXX": "clazy",
"CCACHE_DISABLE": "ON"
}
}
],
"buildPresets": [
{
"name": "dev-gammaray",
"configurePreset": "dev",
"targets": [
"all"
],
"cacheVariables": {
"QT_VERSION_MAJOR": "5"
}
},
{
"name": "clazy",
"configurePreset": "clazy",
"environment": {
"CLAZY_CHECKS": "level2,detaching-member,heap-allocated-small-trivial-type,isempty-vs-count,qstring-varargs,qvariant-template-instantiation,raw-environment-function,reserve-candidates,signal-with-return-value,thread-with-slots,no-ctor-missing-parent-argument,no-missing-typeinfo",
"CCACHE_DISABLE": "ON"
},
"cacheVariables": {
"QT_VERSION_MAJOR": "5"
}
}
]
}