Browse Source
This is identical to how the cross-android-universal target works. Supported UWP arches are: x86, x86_64, arm64. This covers 100% of Windows 10 machines: https://docs.microsoft.com/en-us/windows/msix/package/device-architecture Advantages are the same as Android: 1. Most people will build apps that target multiple (or all) archs 2. Easier to build and ship all arches at once 3. Easier to download two tarballs rather than six Part-of: <https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/551>zrythm

6 changed files with 63 additions and 24 deletions
@ -0,0 +1,13 @@
@@ -0,0 +1,13 @@
|
||||
from cerbero.config import Platform, Architecture |
||||
|
||||
target_platform = Platform.WINDOWS |
||||
variants.uwp = True |
||||
# NOTE: This gets overridden in the arch-specific cbc files |
||||
target_arch = Architecture.UNIVERSAL |
||||
|
||||
universal_archs = { |
||||
# Path is relative to this file |
||||
Architecture.ARM64: "cross-win-arm64.cbc", |
||||
Architecture.X86: "win32.cbc", |
||||
Architecture.X86_64: "win64.cbc", |
||||
} |
@ -1,3 +1,2 @@
@@ -1,3 +1,2 @@
|
||||
from cerbero.config import Architecture |
||||
arch = Architecture.X86_64 |
||||
target_arch = Architecture.X86_64 |
||||
|
After Width: | Height: | Size: 31 KiB |
Loading…
Reference in new issue