-
Notifications
You must be signed in to change notification settings - Fork 7
/
CMakePresets.json
144 lines (144 loc) · 3.13 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
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
{
"version": 4,
"configurePresets": [
{
"name": "cmake-dev",
"hidden": true,
"binaryDir": "${sourceDir}/build",
"cacheVariables": {
"BSA_BUILD_DOCS": {
"type": "BOOL",
"value": "ON"
},
"BSA_BUILD_EXAMPLES": {
"type": "BOOL",
"value": "ON"
},
"CMAKE_BUILD_TYPE": {
"type": "STRING",
"value": "Debug"
}
},
"warnings": {
"deprecated": true,
"dev": true
},
"errors": {
"deprecated": true
}
},
{
"name": "vcpkg",
"hidden": true,
"toolchainFile": "$env{VCPKG_INSTALLATION_ROOT}/scripts/buildsystems/vcpkg.cmake",
"cacheVariables": {
"VCPKG_OVERLAY_PORTS": {
"type": "STRING",
"value": "${sourceDir}/cmake/ports"
}
}
},
{
"name": "windows",
"hidden": true,
"cacheVariables": {
"BSA_SUPPORT_XMEM": {
"type": "BOOL",
"value": "ON"
},
"VCPKG_MANIFEST_FEATURES": {
"type": "STRING",
"value": "compression;tests;xmem"
},
"VCPKG_TARGET_TRIPLET": {
"type": "STRING",
"value": "x64-windows-static"
}
}
},
{
"name": "linux",
"hidden": true,
"cacheVariables": {
"VCPKG_MANIFEST_FEATURES": {
"type": "STRING",
"value": "tests"
},
"VCPKG_TARGET_TRIPLET": {
"type": "STRING",
"value": "x64-linux"
}
}
},
{
"name": "gcc",
"hidden": true,
"cacheVariables": {
"CMAKE_CXX_FLAGS": {
"type": "STRING",
"value": "-fno-sanitize-recover=undefined -fsanitize=address,undefined -pedantic -pedantic-errors -Wall -Werror -Wextra --coverage"
},
"CMAKE_EXE_LINKER_FLAGS": {
"type": "STRING",
"value": "-fno-sanitize-recover=undefined -fsanitize=address,undefined --coverage"
},
"CMAKE_EXPORT_COMPILE_COMMANDS": {
"type": "BOOL",
"value": "ON"
}
}
},
{
"name": "msvc",
"hidden": true,
"cacheVariables": {
"CMAKE_CXX_FLAGS": {
"type": "string",
"value": "/EHsc /MP /W4 /WX /external:anglebrackets /external:W0"
},
"CMAKE_EXE_LINKER_FLAGS_RELEASE": {
"type": "STRING",
"value": "/DEBUG:FASTLINK"
},
"CMAKE_MSVC_RUNTIME_LIBRARY": {
"type": "STRING",
"value": "MultiThreaded$<$<CONFIG:Debug>:Debug>"
}
}
},
{
"name": "windows-msvc",
"inherits": [
"cmake-dev",
"msvc",
"windows"
]
},
{
"name": "windows-msvc-vcpkg",
"inherits": [
"cmake-dev",
"msvc",
"vcpkg",
"windows"
]
},
{
"name": "linux-gcc",
"inherits": [
"cmake-dev",
"gcc",
"linux"
]
},
{
"name": "linux-gcc-vcpkg",
"inherits": [
"cmake-dev",
"gcc",
"linux",
"vcpkg"
]
}
]
}