mirror of
https://github.com/cage-kiosk/cage.git
synced 2026-03-06 01:41:03 -05:00
Refactor cage into separate source files
This makes Cage much easier to maintain. Not only is it easier where to look and to maintain a mental model of the code, there is also more encapsulation, better abstractions and better extendability.
This commit is contained in:
parent
e1525a20c8
commit
2cf40f7a9b
11 changed files with 1084 additions and 657 deletions
16
meson.build
16
meson.build
|
|
@ -52,12 +52,24 @@ server_protos = declare_dependency(
|
|||
)
|
||||
|
||||
cage_sources = [
|
||||
'cage.c'
|
||||
'cage.c',
|
||||
'output.c',
|
||||
'seat.c',
|
||||
'view.c',
|
||||
'xdg_shell.c',
|
||||
]
|
||||
|
||||
cage_headers = [
|
||||
'output.h',
|
||||
'seat.h',
|
||||
'server.h',
|
||||
'view.h',
|
||||
'xdg_shell.h',
|
||||
]
|
||||
|
||||
executable(
|
||||
meson.project_name(),
|
||||
cage_sources,
|
||||
cage_sources + cage_headers,
|
||||
dependencies: [
|
||||
server_protos,
|
||||
wayland_server,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue