-
-
Notifications
You must be signed in to change notification settings - Fork 94
/
CMakePresets.json
152 lines (152 loc) · 5.09 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
{
"version": 2,
"configurePresets": [
{
"name": "dev",
"displayName": "dev",
"generator": "Ninja",
"binaryDir": "${sourceDir}/build-dev",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Debug",
"CLAZY_MAN_PAGE" : "OFF",
"CMAKE_EXPORT_COMPILE_COMMANDS" : "ON"
}
},
{
"name": "dev-asan",
"displayName": "dev-asan",
"generator": "Ninja",
"binaryDir": "${sourceDir}/build-dev-asan",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Debug",
"CLAZY_MAN_PAGE" : "OFF",
"CMAKE_EXPORT_COMPILE_COMMANDS" : "ON",
"CLAZY_ENABLE_SANITIZERS" : "ON"
}
},
{
"name": "profile",
"displayName": "profile",
"generator": "Ninja",
"binaryDir": "${sourceDir}/build-profile",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "RelWithDebInfo",
"CMAKE_UNITY_BUILD" : "ON",
"CLAZY_MAN_PAGE" : "OFF",
"CMAKE_EXPORT_COMPILE_COMMANDS" : "ON"
}
},
{
"name": "release",
"displayName": "release",
"generator": "Ninja",
"binaryDir": "${sourceDir}/build-release",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Release",
"CMAKE_UNITY_BUILD" : "ON",
"CLAZY_MAN_PAGE" : "ON",
"CMAKE_EXPORT_COMPILE_COMMANDS" : "ON"
}
},
{
"name": "msvc-release",
"displayName": "msvc-release",
"generator": "Ninja",
"binaryDir": "${sourceDir}/build-msvc-release",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Release",
"CMAKE_UNITY_BUILD" : "ON",
"CLAZY_MAN_PAGE" : "ON",
"CMAKE_EXPORT_COMPILE_COMMANDS" : "ON",
"CMAKE_INSTALL_PREFIX" : "$env{LLVM_INSTALL_DIR}",
"CLANG_LIBRARY_IMPORT" : "$env{LLVM_INSTALL_DIR}/lib/clang.lib"
},
"environment" : {
"CC" : "cl",
"CXX" : "cl"
}
},
{
"name": "ubuntu-18.04",
"displayName": "ubuntu-18.04",
"generator": "Ninja",
"binaryDir": "${sourceDir}/build-ubuntu-18.04",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Release",
"CMAKE_UNITY_BUILD" : "ON",
"CLAZY_MAN_PAGE" : "OFF"
}
},
{
"name": "ubuntu-20.04",
"displayName": "ubuntu-20.04",
"generator": "Ninja",
"binaryDir": "${sourceDir}/build-ubuntu-20.04",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Release",
"CMAKE_UNITY_BUILD" : "ON",
"CLAZY_MAN_PAGE" : "OFF"
}
},
{
"name": "ubuntu-21.04",
"displayName": "ubuntu-21.04",
"generator": "Ninja",
"binaryDir": "${sourceDir}/build-ubuntu-21.04",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Release",
"CMAKE_UNITY_BUILD" : "ON",
"CLAZY_MAN_PAGE" : "OFF"
}
},
{
"name": "debian-unstable",
"displayName": "debian-unstable",
"generator": "Ninja",
"binaryDir": "${sourceDir}/build-debian-unstable",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Release",
"CMAKE_UNITY_BUILD" : "ON",
"CLAZY_MAN_PAGE" : "OFF"
}
},
{
"name": "fedora-34",
"displayName": "fedora-34",
"generator": "Ninja",
"binaryDir": "${sourceDir}/build-fedora-34",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Release",
"CMAKE_UNITY_BUILD" : "ON",
"CLAZY_MAN_PAGE" : "OFF",
"CMAKE_INSTALL_PREFIX" : "/clazy"
},
"environment" : {
"PATH" : "/usr/lib/llvm-12/bin/:$penv{PATH}",
"LD_LIBRARY_PATH" : "/usr/lib/llvm-12/lib64/:$penv{LD_LIBRARY_PATH}"
}
},
{
"name": "opensuse-leap",
"displayName": "opensuse-leap",
"generator": "Ninja",
"binaryDir": "${sourceDir}/build-opensuse-leap",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Release",
"CMAKE_UNITY_BUILD" : "ON",
"CLAZY_MAN_PAGE" : "OFF"
}
},
{
"name": "opensuse-tumbleweed",
"displayName": "opensuse-tumbleweed",
"generator": "Ninja",
"binaryDir": "${sourceDir}/build-opensuse-tumbleweed",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Release",
"CMAKE_UNITY_BUILD" : "ON",
"CLAZY_MAN_PAGE" : "OFF"
}
}
]
}