wdisplays_github/src/meson.build

30 lines
579 B
Meson
Raw Normal View History

2019-07-06 05:51:52 +03:00
cc = meson.get_compiler('c')
m_dep = cc.find_library('m', required : false)
rt_dep = cc.find_library('rt', required : false)
2019-07-06 05:51:52 +03:00
gdk = dependency('gdk-3.0')
gtk = dependency('gtk+-3.0')
assert(gdk.get_pkgconfig_variable('targets').split().contains('wayland'), 'Wayland GDK backend not present')
epoxy = dependency('epoxy')
2019-07-06 05:51:52 +03:00
executable(
2019-08-01 17:33:45 +03:00
'wdisplays',
2019-07-06 05:51:52 +03:00
[
'main.c',
'outputs.c',
'render.c',
'glviewport.c',
2019-08-13 01:38:46 +03:00
'overlay.c',
2019-07-06 05:51:52 +03:00
resources,
],
dependencies : [
m_dep,
rt_dep,
2019-07-06 05:51:52 +03:00
wayland_client,
client_protos,
epoxy,
2019-07-06 05:51:52 +03:00
gtk
2019-07-06 20:12:28 +03:00
],
install: true
2019-07-06 05:51:52 +03:00
)