-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathCMakePresets.json
More file actions
76 lines (76 loc) · 1.93 KB
/
CMakePresets.json
File metadata and controls
76 lines (76 loc) · 1.93 KB
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
65
66
67
68
69
70
71
72
73
74
75
76
{
"version": 6,
"cmakeMinimumRequired": {
"major": 3,
"minor": 21,
"patch": 0
},
"configurePresets": [
{
"name": "base",
"hidden": true,
"generator": "Ninja",
"binaryDir": "${sourceDir}/build",
"cacheVariables": {
"CMAKE_EXPORT_COMPILE_COMMANDS": "ON"
}
},
{
"name": "vcpkg-base",
"hidden": true,
"inherits": "base",
"cacheVariables": {
"CMAKE_TOOLCHAIN_FILE": {
"type": "FILEPATH",
"value": "$env{VCPKG_ROOT}/scripts/buildsystems/vcpkg.cmake"
}
}
},
{
"name": "dev",
"displayName": "Development (add_subdirectory)",
"description": "Uses add_subdirectory for ekizu/ytdlpp - true incremental builds. Requires junctions in extern/.",
"inherits": "vcpkg-base",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Debug",
"VCPKG_TARGET_TRIPLET": "x64-windows",
"SABER_DEV_MODE": "ON",
"VCPKG_OVERLAY_PORTS": "${sourceDir}/extern/ekizu/overlay-ports;${sourceDir}/extern/ytdlpp/overlay-ports"
}
},
{
"name": "dev-relwithdebinfo",
"displayName": "Dev RelWithDebInfo",
"description": "Development with optimizations and debug info",
"inherits": "dev",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "RelWithDebInfo"
}
},
{
"name": "release",
"displayName": "Release (vcpkg Registry)",
"description": "Uses vcpkg registry for production dependencies",
"inherits": "vcpkg-base",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Release",
"VCPKG_TARGET_TRIPLET": "x64-windows",
"SABER_DEV_MODE": "OFF"
}
}
],
"buildPresets": [
{
"name": "dev",
"configurePreset": "dev"
},
{
"name": "dev-relwithdebinfo",
"configurePreset": "dev-relwithdebinfo"
},
{
"name": "release",
"configurePreset": "release"
}
]
}