-
Notifications
You must be signed in to change notification settings - Fork 42
Expand file tree
/
Copy pathCMakePresets.json
More file actions
87 lines (87 loc) · 2.04 KB
/
CMakePresets.json
File metadata and controls
87 lines (87 loc) · 2.04 KB
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
{
"version": 3,
"configurePresets": [
{
"name": "base",
"generator": "Ninja",
"binaryDir": "${sourceDir}/build/${presetName}",
"cacheVariables": {
"CMAKE_EXPORT_COMPILE_COMMANDS": "ON",
"KDChart_QT6": "ON"
}
},
{
"name": "dev",
"inherits": "base",
"displayName": "Dev build",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Debug",
"KDChart_TESTS": "ON"
}
},
{
"name": "dev-asan",
"inherits": "dev",
"displayName": "ASAN build",
"cacheVariables": {
"KDChart_ENABLE_SANITIZERS": "On"
}
},
{
"name": "release",
"inherits": "base",
"displayName": "Release build",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Release",
"KDChart_TESTS": "OFF"
}
},
{
"name": "ci-base",
"inherits": "dev",
"hidden": true,
"cacheVariables": {
"CMAKE_COMPILE_WARNING_AS_ERROR": "OFF"
},
"warnings": {
"uninitialized": true
},
"errors": {
"dev": false
}
},
{
"name": "clazy",
"inherits": "ci-base",
"environment": {
"CXX": "clazy",
"CCACHE_DISABLE": "ON"
},
"cacheVariables": {
"CMAKE_CXX_COMPILER": "clazy"
}
},
{
"name": "clang-tidy",
"inherits": "ci-base",
"cacheVariables": {
"CMAKE_CXX_CLANG_TIDY": "clang-tidy"
}
}
],
"buildPresets": [
{
"name": "clazy",
"configurePreset": "clazy",
"environment": {
"CLAZY_CHECKS": "level2,no-qstring-allocations,no-qstring-arg,no-qproperty-without-notify,no-connect-by-name,no-fully-qualified-moc-types,no-copyable-polymorphic,no-ctor-missing-parent-argument,no-rule-of-three,no-function-args-by-ref,no-function-args-by-value,no-old-style-connect",
"CLAZY_IGNORE_DIRS": "kdstatemachineeditor_.*_autogen",
"CCACHE_DISABLE": "ON"
}
},
{
"name": "clang-tidy",
"configurePreset": "clang-tidy"
}
]
}