From 42044f09272acdcc30a280e072effe429739c32a Mon Sep 17 00:00:00 2001 From: lamp Date: Sun, 5 Mar 2023 21:43:24 +0000 Subject: init --- meson.build | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 meson.build (limited to 'meson.build') diff --git a/meson.build b/meson.build new file mode 100644 index 0000000..21efd00 --- /dev/null +++ b/meson.build @@ -0,0 +1,36 @@ +project( + 'wlr-idle-proxy', + 'c', + version: '1.6', + license: 'WTFPL', + meson_version: '>=0.50.0', + default_options: [ + 'c_std=c11', + ], +) + +cc = meson.get_compiler('c') + +dbus = dependency('dbus-1') +wayland_client = dependency('wayland-client') +wayland_protos = dependency('wayland-protocols', version: '>=1.21') + +subdir('protocol') + +src_files = [ + 'main.c', +] + +executable( + 'wlr-idle-proxy', + files(src_files), + dependencies: [ + client_protos, + dbus, + wayland_client, + ], + install: true, +) + +conf_data = configuration_data() +conf_data.set('bindir', join_paths(get_option('prefix'), get_option('bindir'))) -- cgit v1.2.3