-
Notifications
You must be signed in to change notification settings - Fork 97
Expand file tree
/
Copy pathCMakePresets.json
More file actions
112 lines (112 loc) · 2.33 KB
/
CMakePresets.json
File metadata and controls
112 lines (112 loc) · 2.33 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
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
{
"version": 5,
"configurePresets": [
{
"name": "base",
"generator": "Ninja",
"binaryDir": "${sourceDir}/build-${presetName}",
"hidden": true,
"cacheVariables": {
"CMAKE_EXPORT_COMPILE_COMMANDS": "ON"
},
"warnings": {
"uninitialized": true
},
"errors": {
"dev": true
}
},
{
"name": "static-base",
"hidden": true,
"generator": "Ninja",
"cacheVariables": {
"KDSoap_STATIC": "ON"
},
"inherits": ["base"]
},
{
"name": "dev",
"inherits": ["base"],
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Debug",
"KDSoap_STATIC": "OFF",
"KDSoap_TESTS": "ON",
"KDSoap_EXAMPLES": "ON",
"KDSoap_QT6": "ON"
}
},
{
"name": "dev-asan",
"inherits": ["dev"],
"cacheVariables": {
"ECM_ENABLE_SANITIZERS": "'address;undefined'"
}
},
{
"name": "dev-tsan",
"inherits": ["dev"],
"cacheVariables": {
"ECM_ENABLE_SANITIZERS": "'thread'"
}
},
{
"name": "dev-static",
"inherits": ["dev"],
"cacheVariables": {
"KDSoap_STATIC": "ON"
}
},
{
"name": "clazy",
"inherits": "dev",
"cacheVariables": {
"KDSoap_EXAMPLES": "OFF",
"KDSoap_TESTS": "OFF",
"CMAKE_COMPILE_WARNING_AS_ERROR": "ON"
},
"environment": {
"CXX": "clazy",
"CCACHE_DISABLE": "ON"
}
},
{
"name": "clang-tidy",
"inherits": "dev",
"cacheVariables": {
"KDSoap_EXAMPLES": "OFF",
"KDSoap_TESTS": "OFF",
"CMAKE_CXX_CLANG_TIDY": "clang-tidy"
}
},
{
"name": "release",
"inherits": "base",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Release"
}
},
{
"name": "release-static",
"inherits": ["release"],
"cacheVariables": {
"KDSoap_STATIC": "ON"
}
}
],
"buildPresets": [
{
"name": "clazy",
"configurePreset": "clazy",
"environment": {
"CLAZY_CHECKS": "level2,no-qstring-allocations,no-fully-qualified-moc-types",
"CCACHE_DISABLE": "ON",
"CLAZY_IGNORE_DIRS": ".*libkode.*"
}
},
{
"name": "clang-tidy",
"configurePreset": "clang-tidy"
}
]
}