-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCMakePresets.json
44 lines (44 loc) · 1.12 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
{
"version": 6,
"cmakeMinimumRequired": {
"major": 3,
"minor": 25,
"patch": 0
},
"configurePresets": [
{
"name": "configure-debug-linux",
"displayName": "Configure for Linux",
"description": "Using compilers: C = /usr/bin/gcc, CXX = /usr/bin/g++",
"binaryDir": "${sourceDir}/build/${presetName}",
"cacheVariables": {
"CMAKE_INSTALL_PREFIX": "${sourceDir}/build/${presetName}",
"CMAKE_C_COMPILER": "/usr/bin/gcc",
"CMAKE_CXX_COMPILER": "/usr/bin/g++",
"CMAKE_BUILD_TYPE": "Debug",
"CMAKE_EXPORT_COMPILE_COMMANDS": true
}
}
],
"buildPresets": [
{
"name": "build-debug-linux",
"configurePreset": "configure-debug-linux"
}
],
"workflowPresets": [
{
"name": "workflow-debug-linux",
"steps": [
{
"type": "configure",
"name": "configure-debug-linux"
},
{
"type": "build",
"name": "build-debug-linux"
}
]
}
]
}