-
Notifications
You must be signed in to change notification settings - Fork 35
Expand file tree
/
Copy pathCMakePresets.json
More file actions
128 lines (128 loc) · 3.96 KB
/
CMakePresets.json
File metadata and controls
128 lines (128 loc) · 3.96 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
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
{
"version": 3,
"configurePresets": [
{
"name": "base",
"hidden": true,
"binaryDir": "${sourceDir}/build/${presetName}",
"generator": "Ninja",
"cacheVariables": {
"CMAKE_EXPORT_COMPILE_COMMANDS": "ON",
"KDSME_DOCS": "OFF"
}
},
{
"name": "dev-base",
"description": "dev-base",
"hidden": true,
"inherits": "base",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Debug",
"BUILD_TESTING": "ON"
}
},
{
"name": "ci-base",
"inherits": "dev-base",
"hidden": true,
"cacheVariables": {
"CMAKE_COMPILE_WARNING_AS_ERROR": "ON"
},
"warnings": {
"uninitialized": true
},
"errors": {
"dev": false
}
},
{
"name": "dev6-external-graphviz",
"description": "Qt6 dev build with external graphviz",
"inherits": "dev-base",
"binaryDir": "${sourceDir}/build-dev6-external-graphviz",
"cacheVariables": {
"KDSME_INTERNAL_GRAPHVIZ": "OFF"
}
},
{
"name": "dev6",
"description": "Qt6 dev build",
"inherits": "dev-base",
"binaryDir": "${sourceDir}/build-dev6",
"cacheVariables": {
"KDSME_INTERNAL_GRAPHVIZ": "ON"
}
},
{
"name": "dev6-asan",
"inherits": "dev6",
"binaryDir": "${sourceDir}/build-dev6-asan",
"cacheVariables": {
"CMAKE_CXX_FLAGS": "-DQT_FORCE_ASSERTS -fsanitize=address -fsanitize=undefined -fno-optimize-sibling-calls",
"CMAKE_SHARED_LINKER_FLAGS": "-fsanitize=address -fsanitize=undefined -fno-omit-frame-pointer",
"CMAKE_EXE_LINKER_FLAGS": "-fsanitize=address -fsanitize=undefined -fno-omit-frame-pointer"
}
},
{
"name": "rel-base",
"description": "rel-base",
"inherits": "base",
"hidden": true,
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Release",
"BUILD_TESTING": "OFF"
}
},
{
"name": "rel6-external-graphviz",
"description": "Qt6 release build with external graphviz",
"inherits": "rel-base",
"binaryDir": "${sourceDir}/build-rel6-external-graphviz",
"cacheVariables": {
"KDSME_INTERNAL_GRAPHVIZ": "OFF"
}
},
{
"name": "rel6",
"description": "Qt6 release build",
"inherits": "rel-base",
"binaryDir": "${sourceDir}/build-rel6",
"cacheVariables": {
"KDSME_INTERNAL_GRAPHVIZ": "ON"
}
},
{
"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-fully-qualified-moc-types,no-copyable-polymorphic,no-ctor-missing-parent-argument",
"CLAZY_IGNORE_DIRS": "kdstatemachineeditor_.*_autogen",
"CCACHE_DISABLE": "ON"
}
},
{
"name": "clang-tidy",
"configurePreset": "clang-tidy"
}
]
}