build: add support for meson

Change-Id: I331522a09257d4ae787893ff72c270886c1aa210
Reviewed-by: Sébastien Blin <sebastien.blin@savoirfairelinux.com>
This commit is contained in:
Vladimir Stoiakin
2019-01-18 19:21:41 +03:00
committed by Adrien Béraud
parent c4a7918c0c
commit 387f6988cd
22 changed files with 1347 additions and 57 deletions

View File

@ -0,0 +1,29 @@
[host_machine]
system = 'linux'
cpu_family = 'aarch64'
cpu = 'aarch64'
endian = 'little'
# Compilers and tools reside in <NDK>/toolchains/llvm/prebuilt/<host-tag>/bin/
# Please add this path to the environment(PATH) before compiling
[binaries]
c = 'aarch64-linux-android29-clang'
cpp = 'aarch64-linux-android29-clang++'
ar = 'aarch64-linux-android-ar'
strip = 'aarch64-linux-android-strip'
pkgconfig = 'pkg-config'
#cmake = 'cmake'
#c_ld = 'gold'
#cpp_ld = 'gold'
#exe_wrapper = ''
[properties]
sys_root = '<daemon>/contrib/aarch64-linux-android29'
pkg_config_libdir = '<daemon>/contrib/aarch64-linux-android29/lib/pkgconfig'
#c_args = ['']
#c_link_args = ['']
#cpp_args = ['']
#cpp_link_args = ['']
#needs_exe_wrapper = true

View File

@ -0,0 +1,23 @@
[host_machine]
system = 'windows'
cpu_family = 'x86_64'
cpu = 'x86_64'
endian = 'little'
[binaries]
c = 'x86_64-w64-mingw32-gcc'
cpp = 'x86_64-w64-mingw32-g++'
ar = 'x86_64-w64-mingw32-ar'
strip = 'x86_64-w64-mingw32-strip'
pkgconfig = 'x86_64-w64-mingw32-pkg-config'
windres = 'x86_64-w64-mingw32-windres'
[properties]
#sys_root = ''
#pkg_config_libdir = ''
#c_args = ['']
#c_link_args = ['']
#cpp_args = ['']
#cpp_link_args = ['']
#needs_exe_wrapper = true