-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCMakePresets.json
More file actions
35 lines (35 loc) · 1.08 KB
/
CMakePresets.json
File metadata and controls
35 lines (35 loc) · 1.08 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
{
"version": 8,
"configurePresets": [
{
"name": "debug",
"displayName": "debug",
"description": "Using compilers: C = /opt/llvm/bin/clang, CXX = /opt/llvm/bin/clang++",
"binaryDir": "${sourceDir}/out/build/${presetName}",
"cacheVariables": {
"CMAKE_INSTALL_PREFIX": "${sourceDir}/out/install/${presetName}",
"CMAKE_C_COMPILER": "clang",
"CMAKE_CXX_COMPILER": "clang++",
"CMAKE_BUILD_TYPE": "Debug",
"ENABLE_ASAN": true,
"ENABLE_UBSAN": true,
"ENABLE_LSAN": true
}
},
{
"name": "Release",
"displayName": "Release",
"description": "Using compilers: C = /opt/llvm/bin/clang, CXX = /opt/llvm/bin/clang++",
"binaryDir": "${sourceDir}/out/build/${presetName}",
"cacheVariables": {
"CMAKE_INSTALL_PREFIX": "${sourceDir}/out/install/${presetName}",
"CMAKE_C_COMPILER": "clang",
"CMAKE_CXX_COMPILER": "clang++",
"CMAKE_BUILD_TYPE": "Release",
"ENABLE_ASAN": true,
"ENABLE_UBSAN": true,
"ENABLE_LSAN": true
}
}
]
}