-
Notifications
You must be signed in to change notification settings - Fork 29
/
Copy pathCMakePresets.json
64 lines (64 loc) · 1.86 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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
{
"version": 10,
"cmakeMinimumRequired": {
"major": 3,
"minor": 23,
"patch": 0
},
"configurePresets": [
{
"name": "ninja-system",
"displayName": "Ninja (System)",
"binaryDir": "${sourceDir}/build",
"generator": "Ninja Multi-Config",
"environment": {},
"cacheVariables": {
"CMAKE_EXPORT_COMPILE_COMMANDS": {
"type": "BOOL",
"value": "TRUE"
}
}
},
{
"name": "ninja-homebrew",
"displayName": "Ninja (Homebrew)",
"binaryDir": "${sourceDir}/build",
"generator": "Ninja Multi-Config",
"environment": {
"PKG_CONFIG_PATH": "/opt/homebrew/opt/libarchive/lib/pkgconfig",
"PATH": "/opt/homebrew/opt/protobuf/bin/:/opt/homebrew/opt/bison/bin:/opt/homebrew/opt/flex/bin/:$penv{PATH}"
},
"cacheVariables": {
"CMAKE_EXPORT_COMPILE_COMMANDS": {
"type": "BOOL",
"value": "TRUE"
}
}
}
],
"buildPresets": [
{
"name": "ninja-system",
"description": "Build using Ninja and system libraries",
"configurePreset": "ninja-system",
"targets": [
"hefurd"
]
},
{
"name": "ninja-homebrew",
"description": "Build using Ninja and homebrew libraries",
"configurePreset": "ninja-homebrew",
"targets": [
"hefurd"
]
}
],
"testPresets": [
{
"name": "ninja-system",
"description": "Test using Ninja and system libraries",
"configurePreset": "ninja-system"
}
]
}