mirror of
https://github.com/kiwix/kiwix-build.git
synced 2025-06-26 10:11:27 +00:00
Run meson test when possible.
To run unit-test (meson) on cross-compilation, we need a wrapper to run the binary (wine, qemu, ...), but: - We have no emulator for android (we have one for the system, but we can't simply run a binary) - With dynamic compilation, it seems pretty complex to configure them correctly. - For mingw32 compilation, `wine` need to be correctly configured to find dll from the system mingw32 installation.
This commit is contained in:
19
templates/meson_android_cross_file.txt
Normal file
19
templates/meson_android_cross_file.txt
Normal file
@ -0,0 +1,19 @@
|
||||
[binaries]
|
||||
pkgconfig = 'pkg-config'
|
||||
c = '{toolchain.binaries[CC]}'
|
||||
ar = '{toolchain.binaries[AR]}'
|
||||
cpp = '{toolchain.binaries[CXX]}'
|
||||
strip = '{toolchain.binaries[STRIP]}'
|
||||
|
||||
[properties]
|
||||
c_link_args = {extra_libs!r}
|
||||
cpp_link_args = {extra_libs!r}
|
||||
c_args = {extra_cflags!r}
|
||||
cpp_args = {extra_cflags!r}
|
||||
android_abi = '{host_machine[abi]}'
|
||||
|
||||
[host_machine]
|
||||
cpu_family = '{host_machine[cpu_family]}'
|
||||
cpu = '{host_machine[cpu]}'
|
||||
system = '{host_machine[lsystem]}'
|
||||
endian = '{host_machine[endian]}'
|
@ -4,6 +4,7 @@ c = '{toolchain.binaries[CC]}'
|
||||
ar = '{toolchain.binaries[AR]}'
|
||||
cpp = '{toolchain.binaries[CXX]}'
|
||||
strip = '{toolchain.binaries[STRIP]}'
|
||||
{toolchain.exec_wrapper_def}
|
||||
|
||||
[properties]
|
||||
c_link_args = {extra_libs!r}
|
||||
|
Reference in New Issue
Block a user