Browse Source

Add meson mingw cross-compile files

Signed-off-by: falkTX <falktx@falktx.com>
tags/2020-07-14
falkTX 2 years ago
parent
commit
f3973894da
Signed by: falkTX <falktx@falktx.com> GPG Key ID: CDBAA37ABC74FBA0
2 changed files with 38 additions and 0 deletions
  1. +19
    -0
      scripts/meson/win32.ini
  2. +19
    -0
      scripts/meson/win64.ini

+ 19
- 0
scripts/meson/win32.ini View File

@@ -0,0 +1,19 @@
[properties]
needs_exe_wrapper = true

[binaries]
name = 'win32'
c = 'i686-w64-mingw32-gcc'
cpp = 'i686-w64-mingw32-g++'
ar = 'i686-w64-mingw32-gcc-ar'
nm = 'i686-w64-mingw32-gcc-nm'
ld = 'i686-w64-mingw32-ld'
strip = 'i686-w64-mingw32-strip'
pkgconfig = 'pkg-config'
exe_wrapper = 'wine'

[host_machine]
system = 'windows'
cpu_family = 'i686'
cpu = 'i686'
endian = 'little'

+ 19
- 0
scripts/meson/win64.ini View File

@@ -0,0 +1,19 @@
[properties]
needs_exe_wrapper = true

[binaries]
name = 'win64'
c = 'x86_64-w64-mingw32-gcc'
cpp = 'x86_64-w64-mingw32-g++'
ar = 'x86_64-w64-mingw32-gcc-ar'
nm = 'x86_64-w64-mingw32-gcc-nm'
ld = 'x86_64-w64-mingw32-ld'
strip = 'x86_64-w64-mingw32-strip'
pkgconfig = 'pkg-config'
exe_wrapper = 'wine64'

[host_machine]
system = 'windows'
cpu_family = 'x86_64'
cpu = 'x86_64'
endian = 'little'

Loading…
Cancel
Save