|
7 | 7 | }, |
8 | 8 | "configurePresets":[ |
9 | 9 | { |
10 | | - "name": "Debug", |
11 | | - "displayName": "Default Config Ninja Debug", |
12 | | - "generator": "Ninja", |
| 10 | + "name": "Debug_Windows", |
| 11 | + "displayName": "Windows Visual Studio Debug", |
| 12 | + "generator": "Visual Studio 2022", |
13 | 13 | "binaryDir": "${sourceDir}/../builds/RendererEngine", |
14 | 14 | "cacheVariables": { |
15 | 15 | "CMAKE_BUILD_TYPE": "Debug", |
|
59 | 59 | } |
60 | 60 | }, |
61 | 61 | { |
62 | | - "name": "Release", |
63 | | - "inherits": "Debug", |
64 | | - "displayName": "Default Config Ninja Release", |
| 62 | + "name": "Release_Windows", |
| 63 | + "displayName": "Windows Visual Studio Release", |
| 64 | + "inherits": "Debug_Windows", |
65 | 65 | "cacheVariables": { |
66 | | - "CMAKE_BUILD_TYPE": "Debug" |
| 66 | + "CMAKE_BUILD_TYPE": "Release" |
67 | 67 | } |
68 | | - } |
| 68 | + }, |
| 69 | + |
| 70 | + # Mac Os |
| 71 | + { |
| 72 | + "name": "Debug_MacOS", |
| 73 | + "inherits": "Debug_Windows", |
| 74 | + "displayName": "MacOS XCode Debug", |
| 75 | + "generator": "Xcode", |
| 76 | + }, |
| 77 | + { |
| 78 | + "name": "Release_MacOS", |
| 79 | + "inherits": "Release_Windows", |
| 80 | + "displayName": "MacOS XCode Release", |
| 81 | + "generator": "Xcode" |
| 82 | + }, |
| 83 | + |
| 84 | + # Linux |
| 85 | + { |
| 86 | + "name": "Debug_Linux", |
| 87 | + "inherits": "Debug_Windows", |
| 88 | + "displayName": "Linux Ninja Debug", |
| 89 | + "generator": "Xcode", |
| 90 | + }, |
| 91 | + { |
| 92 | + "name": "Release_Linux", |
| 93 | + "inherits": "Release_Windows", |
| 94 | + "displayName": "Linux Ninja Release", |
| 95 | + "generator": "Xcode" |
| 96 | + }, |
| 97 | + |
| 98 | + |
69 | 99 | ], |
70 | 100 | "buildPresets": [ |
| 101 | + # Windows Builds |
| 102 | + { |
| 103 | + "name": "Windows_Debug_Build", |
| 104 | + "configurePreset": "Windows_Debug" |
| 105 | + }, |
| 106 | + { |
| 107 | + "name": "Windows_Release_Build", |
| 108 | + "configurePreset": "Windows_Release" |
| 109 | + }, |
| 110 | + |
| 111 | + # MacOS Builds |
| 112 | + { |
| 113 | + "name": "MacOS_Debug_Build", |
| 114 | + "configurePreset": "MacOS_Debug" |
| 115 | + }, |
| 116 | + { |
| 117 | + "name": "MacOS_Release_Build", |
| 118 | + "configurePreset": "MacOS_Release" |
| 119 | + }, |
| 120 | + |
| 121 | + # Linux Builds |
71 | 122 | { |
72 | | - "name": "Debug", |
73 | | - "configurePreset": "Debug" |
| 123 | + "name": "Linux_Debug_Build", |
| 124 | + "configurePreset": "Linux_Debug" |
74 | 125 | }, |
75 | 126 | { |
76 | | - "name": "Release", |
77 | | - "configurePreset": "Release" |
| 127 | + "name": "Linux_Release_Build", |
| 128 | + "configurePreset": "Linux_Release" |
78 | 129 | } |
79 | 130 | ] |
80 | 131 | } |
0 commit comments