[Spice-devel] [spice-gtk 2/2] meson: mingw: add windows configuration

Victor Toso victortoso at redhat.com
Fri Jan 18 09:57:06 UTC 2019


From: Victor Toso <me at victortoso.com>

Using fedora 29 mingw paths. Not hardcoding prefix but keeping a
comment that should be added in case one would like to install over
what they have in the system :)

Signed-off-by: Victor Toso <victortoso at redhat.com>
---
 meson_mingw.txt | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)
 create mode 100644 meson_mingw.txt

diff --git a/meson_mingw.txt b/meson_mingw.txt
new file mode 100644
index 0000000..8a088fc
--- /dev/null
+++ b/meson_mingw.txt
@@ -0,0 +1,18 @@
+# Options for installing in a Fedora 29
+# meson win-build --cross-file meson_mingw.txt \
+# -Dprefix=/usr/x86_64-w64-mingw32/sys-root/mingw \
+# -Dlibdir=lib
+
+[binaries]
+c = '/usr/bin/x86_64-w64-mingw32-gcc'
+cpp = '/usr/bin/x86_64-w64-mingw32-g++'
+ar = '/usr/bin/x86_64-w64-mingw32-ar'
+strip = '/usr/bin/x86_64-w64-mingw32-strip'
+pkgconfig = '/usr/bin/x86_64-w64-mingw32-pkg-config'
+#exe_wrapper = 'wine' # A command used to run generated executables.
+
+[host_machine]
+system = 'windows'
+cpu_family = 'x86'
+cpu = 'x86_64'
+endian = 'little'
-- 
2.20.1



More information about the Spice-devel mailing list