-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCMakePresets.json
48 lines (48 loc) · 1.81 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
{
"version": 3,
"configurePresets": [
{
"name": "gcc-debug",
"displayName": "GCC 11.4.0 x86_64-linux-gnu",
"description": "Using compilers: C = /usr/bin/gcc, CXX = /usr/bin/g++",
"binaryDir": "${sourceDir}/out/build/${presetName}",
"generator": "Ninja",
"cacheVariables": {
"CMAKE_EXPORT_COMPILE_COMMANDS": "ON",
"CMAKE_INSTALL_PREFIX": "${sourceDir}/out/install/${presetName}",
"CMAKE_C_COMPILER": "/usr/bin/gcc",
"CMAKE_CXX_COMPILER": "/usr/bin/g++",
"CMAKE_BUILD_TYPE": "Debug"
}
},
{
"name": "clang-debug",
"displayName": "Clang 14.0.0 x86_64-pc-linux-gnu",
"description": "Using compilers: C = /usr/bin/clang, CXX = /usr/bin/clang++",
"binaryDir": "${sourceDir}/out/build/${presetName}",
"generator": "Ninja",
"cacheVariables": {
"CMAKE_INSTALL_PREFIX": "${sourceDir}/out/install/${presetName}",
"CMAKE_C_COMPILER": "/usr/bin/clang",
"CMAKE_CXX_COMPILER": "/usr/bin/clang++",
"CMAKE_BUILD_TYPE": "Debug"
}
}
],
"buildPresets": [
{
"name": "gcc-build-debug",
"displayName": "GCC 11.4.0 x86_64-linux-gnu",
"configurePreset": "gcc-debug",
"description": "GCC 11.4.0 x86_64-linux-gnu build",
"targets": ["all", "install"]
},
{
"name": "clang-build-debug",
"displayName": "Clang 14.0.0 x86_64-pc-linux-gnu",
"configurePreset": "clang-debug",
"description": "Clang 14.0.0 x86_64-pc-linux-gnu build",
"targets": ["all", "install"]
}
]
}