Code Refactor

This commit is contained in:
wizbright 2018-06-19 10:26:54 -05:00
parent 67140acc51
commit ad1611e3ad
7 changed files with 252 additions and 155 deletions

View file

@ -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')