forked from libical/libical
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathCMakePresets.json
More file actions
72 lines (72 loc) · 1.87 KB
/
Copy pathCMakePresets.json
File metadata and controls
72 lines (72 loc) · 1.87 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
{
"version": 2,
"configurePresets": [
{
"name": "base",
"generator": "Ninja",
"binaryDir": "${sourceDir}/build-${presetName}",
"hidden": true,
"cacheVariables": {
"CMAKE_EXPORT_COMPILE_COMMANDS": "ON"
},
"warnings": {
"uninitialized": true
},
"errors": {
"dev": true
}
},
{
"name": "dev",
"description": "Development preset",
"inherits": [
"base"
],
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Debug",
"LIBICAL_DEVMODE": "ON"
}
},
{
"name": "cppcheck",
"inherits": "dev"
},
{
"name": "clang-tidy",
"inherits": "dev",
"cacheVariables": {
"CMAKE_CXX_CLANG_TIDY": "clang-tidy"
}
},
{
"name": "dev-windows",
"description": "Development on Windows/MSVC toolchain",
"inherits": "dev",
"cacheVariables": {
"LIBICAL_GLIB_BUILD_DOCS": "False",
"LIBICAL_GLIB": "False",
"LIBICAL_GOBJECT_INTROSPECTION": "False",
"LIBICAL_GLIB_VAPI": "False",
"LIBICAL_JAVA_BINDINGS": "False",
"LIBICAL_STATIC": "True"
}
},
{
"name": "release",
"inherits": "base",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Release"
}
}
],
"buildPresets": [
{
"name": "cppcheck",
"configurePreset": "cppcheck"
},
{
"name": "clang-tidy",
"configurePreset": "clang-tidy"
}
]
}