2022-11-07 21:27:06 +01:00
|
|
|
globber = run_command('find', '.', '-name', '*.cpp', check: true)
|
2022-06-13 19:09:52 +02:00
|
|
|
src = globber.stdout().strip().split('\n')
|
2022-06-12 22:57:03 +02:00
|
|
|
|
|
|
|
executable('Hyprland', src,
|
|
|
|
cpp_args: ['-DWLR_USE_UNSTABLE'],
|
2023-03-18 20:00:52 +01:00
|
|
|
link_args: '-rdynamic',
|
2022-06-12 22:57:03 +02:00
|
|
|
dependencies: [
|
|
|
|
server_protos,
|
2022-06-15 12:04:42 +02:00
|
|
|
dependency('wayland-server'),
|
|
|
|
dependency('wayland-client'),
|
2022-06-12 22:57:03 +02:00
|
|
|
wlroots.get_variable('wlroots'),
|
|
|
|
dependency('cairo'),
|
|
|
|
dependency('libdrm'),
|
|
|
|
dependency('egl'),
|
|
|
|
dependency('xkbcommon'),
|
|
|
|
dependency('libinput'),
|
|
|
|
xcb_dep,
|
2023-02-20 15:15:15 +01:00
|
|
|
backtrace_dep,
|
2023-01-05 20:17:55 +01:00
|
|
|
systemd_dep,
|
2023-02-27 13:32:38 +01:00
|
|
|
udis86,
|
2022-06-12 22:57:03 +02:00
|
|
|
|
|
|
|
dependency('pixman-1'),
|
2022-10-30 17:56:13 +01:00
|
|
|
dependency('gl', 'opengl'),
|
2022-06-12 22:57:03 +02:00
|
|
|
dependency('threads')
|
|
|
|
],
|
|
|
|
install : true
|
|
|
|
)
|