2023-10-11 20:49:42 +02:00
|
|
|
globber = run_command('sh', '-c', 'find . -name "*.cpp" | sort', 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',
|
2023-09-04 19:56:02 +02:00
|
|
|
cpp_pch: 'pch/pch.hpp',
|
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'),
|
2024-03-09 17:52:59 +01:00
|
|
|
dependency('hyprcursor'),
|
2024-02-18 16:00:34 +01:00
|
|
|
dependency('hyprlang', version: '>= 0.3.2'),
|
2022-06-12 22:57:03 +02:00
|
|
|
dependency('libdrm'),
|
|
|
|
dependency('egl'),
|
|
|
|
dependency('xkbcommon'),
|
|
|
|
dependency('libinput'),
|
|
|
|
xcb_dep,
|
2024-05-26 20:11:09 +02:00
|
|
|
xcb_composite_dep,
|
|
|
|
xcb_errors_dep,
|
|
|
|
xcb_icccm_dep,
|
|
|
|
xcb_render_dep,
|
|
|
|
xcb_res_dep,
|
|
|
|
xcb_xfixes_dep,
|
2023-02-20 15:15:15 +01:00
|
|
|
backtrace_dep,
|
2024-04-15 15:42:17 +02:00
|
|
|
epoll_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'),
|
2023-03-20 16:39:43 +01:00
|
|
|
dependency('threads'),
|
|
|
|
dependency('pango'),
|
2024-04-23 06:01:20 +02:00
|
|
|
dependency('pangocairo'),
|
|
|
|
dependency('uuid'),
|
2022-06-12 22:57:03 +02:00
|
|
|
],
|
|
|
|
install : true
|
|
|
|
)
|