added meson support

This commit is contained in:
hendy643 2019-06-30 00:41:44 +01:00
parent 18abeff68e
commit 14ce745acd

20
deps/meson.build vendored Normal file
View File

@ -0,0 +1,20 @@
include_deps_dir = include_directories('.')
glad_dep = declare_dependency(
link_with: static_library('glad',
'glad.c',
'glad/glad.h'),
include_directories: include_deps_dir)
getopt_dep = declare_dependency(
link_with: static_library('getopt',
'getopt.c',
'getopt.h'),
include_directories: include_deps_dir)
tinycthread_dep = declare_dependency(
link_with: static_library('tinycthread',
'tinycthread.c',
'tinycthread.h'),
include_directories: include_deps_dir,
dependencies: threads_dep)