-
Notifications
You must be signed in to change notification settings - Fork 1
/
CMakePresets.json
32 lines (32 loc) · 918 Bytes
/
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
{
"version": 5,
"cmakeMinimumRequired": {
"major": 3,
"minor": 16,
"patch": 0
},
"configurePresets": [
{
"name": "relwithdebinfo-ninja-clang",
"displayName": "RelWithDebInfo and Ninja",
"description": "build with Clang Toolchain and Ninja build system",
"generator": "Ninja",
"binaryDir": "${sourceDir}/cmake-build-relwithdebinfo",
"cacheVariables": {
"CMAKE_C_COMPILER": "clang",
"CMAKE_CXX_COMPILER": "clang++"
}
},
{
"name": "relwithdebinfo-vs-clang",
"displayName": "RelWithDebInfo and Visual Studio",
"description": "build with Clang Toolchain and Visual Studio build system",
"generator": "Visual Studio 17 2022",
"binaryDir": "${sourceDir}/cmake-build-relwithdebinfo",
"cacheVariables": {
"CMAKE_C_COMPILER": "clang",
"CMAKE_CXX_COMPILER": "clang++"
}
}
]
}