|
2 | 2 | "version": 2, |
3 | 3 | "configurePresets": [ |
4 | 4 | { |
5 | | - "name": "default-debug", |
6 | | - "displayName": "Default OpenGL host build (Debug)", |
| 5 | + "name": "default", |
| 6 | + "displayName": "Default OpenGL host build", |
7 | 7 | "description": "Sets Ninja generator, build and install directory", |
8 | 8 | "generator": "Ninja", |
9 | 9 | "binaryDir": "${sourceDir}/out/build/${presetName}", |
10 | 10 | "hidden": true, |
11 | 11 | "cacheVariables": { |
12 | | - "CMAKE_BUILD_TYPE": "Debug", |
13 | 12 | "CMAKE_INSTALL_PREFIX": "${sourceDir}/out/install/${presetName}", |
14 | 13 | "TRY_ENABLE_OPENGL": false, |
15 | 14 | "ENABLE_OPENGL": true, |
16 | | - "TRY_ENABLE_VULKAN": false, |
17 | | - "ENABLE_VULKAN": true, |
18 | 15 | "BUILD_GSTREAMER_VIDEO_PLAYER_PLUGIN": true, |
19 | | - "TRY_BUILD_GSTREAMER_VIDEO_PLAYER_PLUGIN": false, |
20 | 16 | "BUILD_GSTREAMER_AUDIO_PLAYER_PLUGIN": true, |
21 | 17 | "TRY_BUILD_GSTREAMER_AUDIO_PLAYER_PLUGIN": false, |
22 | 18 | "BUILD_SENTRY_PLUGIN": true, |
| 19 | + "ENABLE_SESSION_SWITCHING": true, |
| 20 | + "ENABLE_TESTS": false |
| 21 | + } |
| 22 | + }, |
| 23 | + { |
| 24 | + "name": "default-debug", |
| 25 | + "displayName": "Default OpenGL host build (Debug)", |
| 26 | + "inherits": "default", |
| 27 | + "cacheVariables": { |
| 28 | + "CMAKE_BUILD_TYPE": "Debug", |
23 | 29 | "ENABLE_TESTS": true, |
24 | 30 | "ENABLE_ASAN": true |
25 | 31 | } |
26 | 32 | }, |
27 | 33 | { |
28 | 34 | "name": "default-relwithdebinfo", |
29 | 35 | "displayName": "Default OpenGL host build (Release with Debug Info)", |
30 | | - "description": "Sets Ninja generator, build and install directory", |
31 | | - "generator": "Ninja", |
32 | | - "binaryDir": "${sourceDir}/out/build/${presetName}", |
| 36 | + "inherits": "default", |
33 | 37 | "cacheVariables": { |
34 | | - "CMAKE_BUILD_TYPE": "RelWithDebInfo", |
35 | | - "CMAKE_INSTALL_PREFIX": "${sourceDir}/out/install/${presetName}", |
36 | | - "ENABLE_OPENGL": true, |
37 | | - "BUILD_GSTREAMER_AUDIO_PLAYER_PLUGIN": true, |
38 | | - "BUILD_SENTRY_PLUGIN": true, |
39 | | - "ENABLE_TESTS": false, |
40 | | - "ENABLE_ASAN": false |
| 38 | + "CMAKE_BUILD_TYPE": "RelWithDebInfo" |
41 | 39 | } |
42 | 40 | }, |
43 | 41 | { |
44 | 42 | "name": "default-release", |
45 | 43 | "displayName": "Default OpenGL host build (Release)", |
46 | | - "description": "Sets Ninja generator, build and install directory", |
47 | | - "generator": "Ninja", |
48 | | - "binaryDir": "${sourceDir}/out/build/${presetName}", |
| 44 | + "inherits": "default", |
49 | 45 | "cacheVariables": { |
50 | | - "CMAKE_BUILD_TYPE": "Release", |
51 | | - "CMAKE_INSTALL_PREFIX": "${sourceDir}/out/install/${presetName}", |
52 | | - "ENABLE_OPENGL": true, |
53 | | - "BUILD_GSTREAMER_AUDIO_PLAYER_PLUGIN": true, |
54 | | - "BUILD_SENTRY_PLUGIN": true, |
55 | | - "ENABLE_TESTS": false, |
56 | | - "ENABLE_ASAN": false |
| 46 | + "CMAKE_BUILD_TYPE": "Release" |
57 | 47 | } |
58 | 48 | }, |
59 | 49 | { |
|
0 commit comments