-
Notifications
You must be signed in to change notification settings - Fork 21
/
Copy pathCMakePresets.json
203 lines (203 loc) · 7.44 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
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
{
"version": 3,
"cmakeMinimumRequired": {
"major": 3,
"minor": 21,
"patch": 0
},
"configurePresets": [
{
"name": "default-base",
"hidden": true,
"installDir": "${sourceDir}/package/Ashes",
"cacheVariables": {
"VCPKG_MANIFEST_FEATURES": "vulkan",
"ASHES_TEST_ICD": false,
"ASHES_BUILD_RENDERER_PLUGINS": true,
"ASHES_BUILD_RENDERER_VKN": true,
"ASHES_BUILD_RENDERER_OGL": true,
"PROJECTS_OUTPUT_DIR": "${sourceDir}",
"PROJECTS_USE_PRECOMPILED_HEADERS": true
}
},
{
"name": "default-msvc",
"displayName": "Default Visual Studio Config",
"description": "Default build configuration using Visual Studio",
"inherits": "default-base",
"generator": "Visual Studio 17 2022",
"condition": {
"type": "equals",
"lhs": "${hostSystemName}",
"rhs": "Windows"
},
"cacheVariables": {
"VCPKG_MANIFEST_FEATURES": "vulkan;opengl;direct3d11",
"ASHES_BUILD_RENDERER_D3D11": true
}
},
{
"name": "default-ninja-base",
"inherits": "default-base",
"hidden": true,
"generator": "Ninja",
"cacheVariables": {
"VCPKG_MANIFEST_FEATURES": "vulkan;opengl"
}
},
{
"name": "default-ninja-debug",
"displayName": "Default Ninja Config, Debug",
"description": "Default build configuration using Ninja, Debug",
"inherits": "default-ninja-base",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Debug"
}
},
{
"name": "default-ninja-release",
"displayName": "Default Ninja Config, Release",
"description": "Default build configuration using Ninja, Release",
"inherits": "default-ninja-base",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Release"
}
},
{
"name": "dev-base",
"hidden": true,
"installDir": "${sourceDir}/package/Ashes",
"cacheVariables": {
"ASHES_TEST_ICD": false,
"ASHES_BUILD_RENDERER_PLUGINS": true,
"ASHES_BUILD_RENDERER_VKN": true,
"ASHES_BUILD_RENDERER_OGL": true,
"ASHES_BUILD_RENDERER_TEST": true,
"ASHES_BUILD_SAMPLES": true,
"ASHES_BUILD_TEMPLATES": true,
"ASHES_BUILD_TESTS": true,
"PROJECTS_USE_PRECOMPILED_HEADERS": true,
"PROJECTS_WARNINGS_AS_ERRORS": true
}
},
{
"name": "dev-msvc",
"displayName": "Developer Visual Studio Config",
"description": "Developer build configuration using Visual Studio",
"inherits": "dev-base",
"generator": "Visual Studio 17 2022",
"condition": {
"type": "equals",
"lhs": "${hostSystemName}",
"rhs": "Windows"
},
"cacheVariables": {
"VCPKG_MANIFEST_FEATURES": "vulkan;opengl;tests;samples;templates;util;direct3d11",
"ASHES_BUILD_RENDERER_D3D11": true
}
},
{
"name": "dev-ninja-base",
"hidden": true,
"inherits": "dev-base",
"generator": "Ninja",
"cacheVariables": {
"VCPKG_MANIFEST_FEATURES": "vulkan;opengl;tests;samples;templates;util"
}
},
{
"name": "dev-ninja-debug",
"displayName": "Developer Ninja Config, Debug",
"description": "Developer build configuration using Ninja, Debug",
"inherits": "dev-ninja-base",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Debug"
}
},
{
"name": "dev-ninja-release",
"displayName": "Developer Ninja Config, Release",
"description": "Developer build configuration using Ninja, Release",
"inherits": "dev-ninja-base",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Release"
}
},
{
"name": "dev-vcpkg-base",
"hidden": true,
"installDir": "${sourceDir}/package/Ashes",
"cacheVariables": {
"ASHES_TEST_ICD": false,
"CMAKE_TOOLCHAIN_FILE": "${sourceDir}/external/vcpkg/scripts/buildsystems/vcpkg.cmake",
"ASHES_BUILD_RENDERER_VKN": true,
"ASHES_BUILD_RENDERER_OGL": true,
"ASHES_BUILD_RENDERER_TEST": true,
"ASHES_BUILD_SAMPLES": true,
"ASHES_BUILD_TEMPLATES": true,
"ASHES_BUILD_TESTS": true,
"PROJECTS_USE_PRECOMPILED_HEADERS": true,
"PROJECTS_WARNINGS_AS_ERRORS": true
}
},
{
"name": "dev-vcpkg-msvc",
"inherits": "dev-vcpkg-base",
"displayName": "Developer Visual Studio Config, using vcpkg",
"description": "Developer build configuration using Visual Studio, using vcpkg",
"generator": "Visual Studio 17 2022",
"condition": {
"type": "equals",
"lhs": "${hostSystemName}",
"rhs": "Windows"
},
"cacheVariables": {
"VCPKG_MANIFEST_FEATURES": "vulkan;opengl;tests;samples;templates;util;direct3d11",
"ASHES_BUILD_RENDERER_D3D11": true
}
},
{
"name": "dev-vcpkg-ninja-base",
"hidden": true,
"inherits": "dev-vcpkg-base",
"generator": "Ninja",
"cacheVariables": {
"VCPKG_MANIFEST_FEATURES": "vulkan;opengl;tests;samples;templates;util"
}
},
{
"name": "dev-vcpkg-ninja-debug",
"displayName": "Developer Ninja Config, using vcpkg, Debug",
"description": "Developer build configuration using Ninja, using vcpkg, Debug",
"inherits": "dev-vcpkg-ninja-base",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Debug"
}
},
{
"name": "dev-vcpkg-ninja-release",
"displayName": "Developer Ninja Config, using vcpkg, Release",
"description": "Developer build configuration using Ninja, using vcpkg, Release",
"inherits": "dev-vcpkg-ninja-base",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Release"
}
},
{
"name": "ci-vcpkg",
"installDir": "${sourceDir}/package/Ashes",
"cacheVariables": {
"ASHES_TEST_ICD": false,
"ASHES_BUILD_RENDERER_VKN": true,
"ASHES_BUILD_RENDERER_OGL": true,
"ASHES_BUILD_RENDERER_TEST": true,
"ASHES_BUILD_SAMPLES": false,
"ASHES_BUILD_TEMPLATES": false,
"ASHES_BUILD_TESTS": false,
"PROJECTS_USE_PRECOMPILED_HEADERS": true,
"PROJECTS_WARNINGS_AS_ERRORS": false,
"VCPKG_MANIFEST_FEATURES": "vulkan;opengl;test"
}
}
]
}