-
Notifications
You must be signed in to change notification settings - Fork 20
/
Copy pathCMakePresets.json
98 lines (98 loc) · 5.43 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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
{
"version": 3,
"cmakeMinimumRequired": {
"major": 3,
"minor": 21,
"patch": 0
},
"configurePresets": [
{
"name": "defaults",
"hidden": true,
"binaryDir": "${sourceDir}/.out/${presetName}",
"toolchainFile": "$env{VCPKG_ROOT}/scripts/buildsystems/vcpkg.cmake",
"generator": "Ninja Multi-Config",
"cacheVariables": {
"ENABLE_STATIC_ANALYSIS": false,
"CMAKE_EXPORT_COMPILE_COMMANDS": true,
"GVOX_ENGINE_INSTALL": false,
"GVOX_ENGINE_USE_VCPKG": true
}
},
{
"name": "defaults-windows",
"hidden": true,
"inherits": [ "defaults" ],
"condition": { "type": "equals", "lhs": "${hostSystemName}", "rhs": "Windows" }
},
{
"name": "defaults-linux",
"hidden": true,
"inherits": [ "defaults" ],
"condition": { "type": "equals", "lhs": "${hostSystemName}", "rhs": "Linux" }
},
{
"name": "clang-x86_64-windows-msvc",
"displayName": "Clang x86_64 Windows (MSVC ABI)",
"inherits": [ "defaults-windows" ],
"toolchainFile": "${sourceDir}/cmake/toolchains/clang-x86_64-windows-msvc.cmake"
},
{
"name": "cl-x86_64-windows-msvc",
"displayName": "CL.exe x86_64 Windows (MSVC ABI)",
"inherits": [ "defaults-windows" ],
"toolchainFile": "${sourceDir}/cmake/toolchains/cl-x86_64-windows-msvc.cmake"
},
{
"name": "vs-x86_64-windows-msvc",
"generator": "Visual Studio 17 2022",
"displayName": "Visual Studio x86_64 Windows (MSVC ABI)",
"inherits": [ "defaults-windows" ],
"toolchainFile": "${sourceDir}/cmake/toolchains/cl-x86_64-windows-msvc.cmake"
},
{
"name": "gcc-x86_64-linux-gnu",
"displayName": "G++ x86_64 Linux (GNU ABI)",
"inherits": [ "defaults-linux" ],
"toolchainFile": "${sourceDir}/cmake/toolchains/gcc-x86_64-linux-gnu.cmake"
},
{
"name": "clang-x86_64-linux-gnu",
"displayName": "Clang x86_64 Linux (GNU ABI)",
"inherits": [ "defaults-linux" ],
"toolchainFile": "${sourceDir}/cmake/toolchains/clang-x86_64-linux-gnu.cmake"
},
{
"name": "windows-dist",
"displayName": "Windows Distribution",
"inherits": [ "clang-x86_64-windows-msvc" ],
"cacheVariables": {
"GVOX_ENGINE_INSTALL": true
}
},
{
"name": "linux-dist",
"displayName": "Linux Distribution",
"inherits": [ "gcc-x86_64-linux-gnu" ],
"cacheVariables": {
"GVOX_ENGINE_INSTALL": true
}
}
],
"buildPresets": [
{ "name": "clang-x86_64-windows-msvc-debug", "displayName": "Clang x86_64 Windows (MSVC ABI) Debug", "configurePreset": "clang-x86_64-windows-msvc", "configuration": "Debug" },
{ "name": "clang-x86_64-windows-msvc-relwithdebinfo", "displayName": "Clang x86_64 Windows (MSVC ABI) RelWithDebInfo", "configurePreset": "clang-x86_64-windows-msvc", "configuration": "RelWithDebInfo" },
{ "name": "clang-x86_64-windows-msvc-release", "displayName": "Clang x86_64 Windows (MSVC ABI) Release", "configurePreset": "clang-x86_64-windows-msvc", "configuration": "Release" },
{ "name": "cl-x86_64-windows-msvc-debug", "displayName": "CL.exe x86_64 Windows (MSVC ABI) Debug", "configurePreset": "cl-x86_64-windows-msvc", "configuration": "Debug" },
{ "name": "cl-x86_64-windows-msvc-relwithdebinfo", "displayName": "CL.exe x86_64 Windows (MSVC ABI) RelWithDebInfo", "configurePreset": "cl-x86_64-windows-msvc", "configuration": "RelWithDebInfo" },
{ "name": "cl-x86_64-windows-msvc-release", "displayName": "CL.exe x86_64 Windows (MSVC ABI) Release", "configurePreset": "cl-x86_64-windows-msvc", "configuration": "Release" },
{ "name": "gcc-x86_64-linux-gnu-debug", "displayName": "G++ x86_64 Linux (GNU ABI) Debug", "configurePreset": "gcc-x86_64-linux-gnu", "configuration": "Debug" },
{ "name": "gcc-x86_64-linux-gnu-relwithdebinfo", "displayName": "G++ x86_64 Linux (GNU ABI) RelWithDebInfo", "configurePreset": "gcc-x86_64-linux-gnu", "configuration": "RelWithDebInfo" },
{ "name": "gcc-x86_64-linux-gnu-release", "displayName": "G++ x86_64 Linux (GNU ABI) Release", "configurePreset": "gcc-x86_64-linux-gnu", "configuration": "Release" },
{ "name": "clang-x86_64-linux-gnu-debug", "displayName": "Clang x86_64 Linux (GNU ABI) Debug", "configurePreset": "clang-x86_64-linux-gnu", "configuration": "Debug" },
{ "name": "clang-x86_64-linux-gnu-relwithdebinfo", "displayName": "Clang x86_64 Linux (GNU ABI) RelWithDebInfo", "configurePreset": "clang-x86_64-linux-gnu", "configuration": "RelWithDebInfo" },
{ "name": "clang-x86_64-linux-gnu-release", "displayName": "Clang x86_64 Linux (GNU ABI) Release", "configurePreset": "clang-x86_64-linux-gnu", "configuration": "Release" },
{ "name": "windows-dist-release", "displayName": "Windows Distribution", "configurePreset": "windows-dist", "configuration": "Release" },
{ "name": "linux-dist-release", "displayName": "Linux Distribution", "configurePreset": "linux-dist", "configuration": "Release" }
]
}