-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathllvm-presets.json
More file actions
65 lines (65 loc) · 1.77 KB
/
llvm-presets.json
File metadata and controls
65 lines (65 loc) · 1.77 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
{
"version": 6,
"configurePresets": [
{
"name": "asserts",
"generator": "Ninja",
"binaryDir": "${sourceParentDir}/build/asserts",
"cacheVariables": {
"CMAKE_C_COMPILER_LAUNCHER": "ccache",
"CMAKE_CXX_COMPILER_LAUNCHER": "ccache",
"LLVM_Z3_INSTALL_DIR": "${sourceParentDir}/llvm-install",
"LLVM_ENABLE_Z3_SOLVER": true,
"LLVM_ENABLE_ZSTD": true,
"LLVM_ENABLE_ZLIB": false,
"LLVM_USE_STATIC_ZSTD": true,
"CMAKE_BUILD_TYPE": "RelWithDebInfo",
"LLVM_ENABLE_ASSERTIONS": true,
"LLVM_ENABLE_DUMP": true,
"LLVM_TARGETS_TO_BUILD": "X86",
"CMAKE_INSTALL_PREFIX": "${sourceParentDir}/llvm-install",
"LLVM_ENABLE_PROJECTS": "clang",
"CMAKE_CXX_STANDARD": "17",
"LLVM_USE_LINKER": "lld",
"CLANG_DEFAULT_LINKER": "lld",
"LLVM_APPEND_VC_REV": false
},
"environment": {
"CCACHE_BASEDIR": "${sourceParentDir}"
}
},
{
"name": "debug",
"inherits": "asserts",
"binaryDir": "${sourceParentDir}/build/debug",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Debug",
"LLVM_ENABLE_ZLIB": false,
"LLVM_ENABLE_ASSERTIONS": true
}
},
{
"name": "clang-tidy",
"inherits": "asserts",
"binaryDir": "${sourceParentDir}/build/clang-tidy",
"cacheVariables": {
"LLVM_ENABLE_PROJECTS": "clang;clang-tools-extra"
},
"environment": {
"CCACHE_BASEDIR": "${sourceParentDir}"
}
}
],
"buildPresets": [
{
"name": "asserts",
"configurePreset": "asserts",
"inheritConfigureEnvironment": true
},
{
"name": "debug",
"configurePreset": "debug",
"inheritConfigureEnvironment": true
}
]
}