mirror of
https://github.com/glfw/glfw.git
synced 2025-10-04 05:36:35 +00:00
added meson support
This commit is contained in:
parent
18abeff68e
commit
14ce745acd
20
deps/meson.build
vendored
Normal file
20
deps/meson.build
vendored
Normal 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)
|
Loading…
Reference in New Issue
Block a user