mirror of
https://github.com/wizbright/waybox.git
synced 2025-10-29 05:40:20 -04:00
fixing issues now
This commit is contained in:
parent
7603e06da8
commit
4a04ba2237
3 changed files with 117 additions and 0 deletions
41
meson.build
Normal file
41
meson.build
Normal file
|
|
@ -0,0 +1,41 @@
|
|||
# SirCmpwn is a god. (from mcwayface)
|
||||
|
||||
project(
|
||||
'waybox',
|
||||
'c',
|
||||
version: '0.0.1',
|
||||
license: 'MIT',
|
||||
meson_version: '>=0.43.0',
|
||||
default_options: [
|
||||
'c_std=c11',
|
||||
'warning_level=2',
|
||||
'werror=true',
|
||||
],
|
||||
)
|
||||
|
||||
add_project_arguments('-Wno-unused-parameter', language: 'c')
|
||||
|
||||
cc = meson.get_compiler('c')
|
||||
if cc.get_id() == 'clang'
|
||||
add_project_arguments('-Wno-missing-field-initializers', language: 'c')
|
||||
add_project_arguments('-Wno-missing-braces', language: 'c')
|
||||
endif
|
||||
|
||||
# Hiding depreciation warnings
|
||||
add_project_arguments('-DWL_HIDE_DEPRECATED', language: 'c')
|
||||
|
||||
pixman = dependency('pixman-1')
|
||||
wlroots = dependency('wlroots')
|
||||
wayland_server = dependency('wayland-server')
|
||||
|
||||
executable(
|
||||
'waybox',
|
||||
[
|
||||
'src/main.c'
|
||||
],
|
||||
dependencies: [
|
||||
pixman,
|
||||
wlroots,
|
||||
wayland_server,
|
||||
]
|
||||
)
|
||||
Loading…
Add table
Add a link
Reference in a new issue