mirror of
https://gitea.tendokyu.moe/TeamTofuShop/capnhook.git
synced 2026-09-28 09:57:54 +03:00
Set up Meson build system
This commit is contained in:
@@ -1 +1,5 @@
|
||||
.*.swp
|
||||
|
||||
# Suggested names for build dirs
|
||||
_build32/
|
||||
_build64/
|
||||
|
||||
@@ -0,0 +1,10 @@
|
||||
[binaries]
|
||||
c = '/usr/bin/i686-w64-mingw32-gcc'
|
||||
ar = '/usr/bin/i686-w64-mingw32-ar'
|
||||
strip = '/usr/bin/i686-w64-mingw32-strip'
|
||||
|
||||
[host_machine]
|
||||
system = 'windows'
|
||||
cpu_family = 'x86'
|
||||
cpu = 'i686'
|
||||
endian = 'little'
|
||||
@@ -0,0 +1,10 @@
|
||||
[binaries]
|
||||
c = '/usr/bin/x86_64-w64-mingw32-gcc'
|
||||
ar = '/usr/bin/x86_64-w64-mingw32-ar'
|
||||
strip = '/usr/bin/x86_64-w64-mingw32-strip'
|
||||
|
||||
[host_machine]
|
||||
system = 'windows'
|
||||
cpu_family = 'x86_64'
|
||||
cpu = 'x86_64'
|
||||
endian = 'little'
|
||||
+17
@@ -0,0 +1,17 @@
|
||||
project('capnhook', 'c', version: '0.1.0')
|
||||
|
||||
add_project_arguments(
|
||||
'-Wall',
|
||||
'-DCOBJMACROS',
|
||||
'-ffunction-sections',
|
||||
'-fdata-sections',
|
||||
language: 'c',
|
||||
)
|
||||
|
||||
add_project_link_arguments(
|
||||
'-Wl,--gc-sections',
|
||||
'-static-libgcc',
|
||||
language: 'c',
|
||||
)
|
||||
|
||||
inc = include_directories('.')
|
||||
Reference in New Issue
Block a user