aboutsummaryrefslogtreecommitdiff
path: root/meson.build
blob: 21efd00bb4f6ee02a8a061acad81834725ff65c3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
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')))