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
|
|
|
|
2024-09-11 18:00:47 +02:00
|
|
|
executable(
|
|
|
|
'Hyprland',
|
|
|
|
src,
|
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,
|
2024-09-19 15:48:31 +02:00
|
|
|
aquamarine,
|
2024-07-21 13:09:54 +02:00
|
|
|
dependency('gbm'),
|
|
|
|
dependency('xcursor'),
|
2022-06-15 12:04:42 +02:00
|
|
|
dependency('wayland-server'),
|
|
|
|
dependency('wayland-client'),
|
2022-06-12 22:57:03 +02:00
|
|
|
dependency('cairo'),
|
2024-07-16 21:23:37 +02:00
|
|
|
dependency('hyprcursor', version: '>=0.1.7'),
|
2024-02-18 16:00:34 +01:00
|
|
|
dependency('hyprlang', version: '>= 0.3.2'),
|
2024-09-25 11:01:13 +02:00
|
|
|
dependency('hyprutils', version: '>= 0.2.3'),
|
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,
|
2024-08-09 19:33:20 +02:00
|
|
|
gio_dep,
|
2024-09-22 19:53:34 +02:00
|
|
|
tracy,
|
2024-09-22 20:20:35 +02:00
|
|
|
|
|
|
|
# Try to find canihavesomecoffee's udis86 using pkgconfig
|
|
|
|
# vmt/udis86 does not provide a .pc file and won't be detected this way
|
|
|
|
# Falls back to using the subproject through udis86.wrap
|
|
|
|
dependency('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
|
|
|
],
|
2024-09-11 18:00:47 +02:00
|
|
|
install: true,
|
2022-06-12 22:57:03 +02:00
|
|
|
)
|