mirror of
https://github.com/wizbright/waybox.git
synced 2025-10-29 05:40:20 -04:00
Code Refactor
This commit is contained in:
parent
67140acc51
commit
ad1611e3ad
7 changed files with 252 additions and 155 deletions
20
meson.build
20
meson.build
|
|
@ -1,4 +1,4 @@
|
|||
# SirCmpwn is a god. (from mcwayface)
|
||||
# SirCmpwn is a god. (from mcwayface and bspwc)
|
||||
|
||||
project(
|
||||
'waybox',
|
||||
|
|
@ -25,6 +25,9 @@ endif
|
|||
# Hiding depreciation warnings
|
||||
add_project_arguments('-DWL_HIDE_DEPRECATED', language: 'c')
|
||||
|
||||
# Adding include directory
|
||||
inc_dir = include_directories('include')
|
||||
|
||||
pixman = dependency('pixman-1')
|
||||
wlroots = dependency('wlroots')
|
||||
wayland_server = dependency('wayland-server')
|
||||
|
|
@ -32,17 +35,4 @@ wayland_client = dependency('wayland-client')
|
|||
wayland_protos = dependency('wayland-protocols', version: '>=1.12')
|
||||
|
||||
subdir('protocol')
|
||||
|
||||
executable(
|
||||
'waybox',
|
||||
[
|
||||
'src/main.c'
|
||||
],
|
||||
dependencies: [
|
||||
pixman,
|
||||
wlroots,
|
||||
wayland_server,
|
||||
wayland_protos,
|
||||
wayland_client
|
||||
]
|
||||
)
|
||||
subdir('src')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue