-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathCMakePresets.json
46 lines (46 loc) · 1.29 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
{
"version": 3,
"cmakeMinimumRequired": {
"major": 3,
"minor": 30,
"patch": 5
},
"configurePresets": [
{
"name": "linux-clang-debug",
"displayName": "clang-debug-x64",
"description": "Clang 19.1.2 (x86_64)",
"generator": "Ninja",
"architecture": {
"value": "x64",
"strategy": "external"
},
"binaryDir": "${sourceDir}/build/${presetName}",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Debug",
"CMAKE_INSTALL_PREFIX": "${sourceDir}/install/${presetName}",
"CMAKE_C_COMPILER": "clang",
"CMAKE_CXX_COMPILER": "clang++",
"CMAKE_CXX_COMPILER_VERSION": "19.1.2"
}
},
{
"name": "linux-clang-release",
"displayName": "clang-release-x64",
"description": "Clang 19.1.2 (x86_64)",
"generator": "Ninja",
"architecture": {
"value": "x64",
"strategy": "external"
},
"binaryDir": "${sourceDir}/build/${presetName}",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Release",
"CMAKE_INSTALL_PREFIX": "${sourceDir}/install/${presetName}",
"CMAKE_C_COMPILER": "clang",
"CMAKE_CXX_COMPILER": "clang++",
"CMAKE_CXX_COMPILER_VERSION": "19.1.2"
}
}
]
}