glpaper/meson.build

23 lines
689 B
Meson

project('glpaper', 'c', default_options : ['buildtype=release', 'warning_level=2'])
cc = meson.get_compiler('c')
inc = include_directories('inc')
wayland = dependency('wayland-client')
wl_egl = dependency('wayland-egl')
egl = dependency('egl')
pulse = dependency('libpulse-simple')
math = cc.find_library('m', required : false)
fftw = dependency('fftw3')
executable(meson.project_name(),
'src/main.c',
'src/paper.c',
'src/pulsefft.c',
'src/utils.c',
'glad/glad.c',
'proto/wlr-layer-shell-unstable-v1-protocol.c',
'proto/xdg-output-unstable-v1-protocol.c',
'proto/xdg-shell-protocol.c',
include_directories : inc,
dependencies : [math, wayland, wl_egl, egl, pulse, fftw], install : true)