mirror of
https://github.com/vale981/openAV-Luppp
synced 2025-03-04 16:51:37 -05:00
meson: add meson build for luppp
This allows easier and faster building, with less complexity and better defaults than the previoius CMake based system. Signed-off-by: Harry van Haaren <harryhaaren@gmail.com>
This commit is contained in:
parent
097d52757e
commit
48802f14ad
8 changed files with 79 additions and 0 deletions
36
meson.build
Normal file
36
meson.build
Normal file
|
@ -0,0 +1,36 @@
|
||||||
|
project('openav_luppp', ['c','cpp'])
|
||||||
|
|
||||||
|
conf_data = configuration_data()
|
||||||
|
conf_data.set('version', '1.1.1')
|
||||||
|
|
||||||
|
#add_project_arguments('-std=c99', language : 'c')
|
||||||
|
#add_project_arguments('-std=c++11', language : 'cpp')
|
||||||
|
add_project_arguments('-Wno-unused-variable', language : 'cpp')
|
||||||
|
add_project_arguments('-Wno-reorder', language : 'cpp')
|
||||||
|
add_project_arguments('-Wno-sign-compare', language : 'cpp')
|
||||||
|
|
||||||
|
cc = meson.get_compiler('c')
|
||||||
|
cpp = meson.get_compiler('cpp')
|
||||||
|
|
||||||
|
luppp_src = []
|
||||||
|
subdir('src')
|
||||||
|
|
||||||
|
|
||||||
|
dep_names = [
|
||||||
|
'ntk',
|
||||||
|
'cairo',
|
||||||
|
'liblo',
|
||||||
|
'jack',
|
||||||
|
'sndfile',
|
||||||
|
'samplerate',
|
||||||
|
'x11'
|
||||||
|
]
|
||||||
|
deps = []
|
||||||
|
|
||||||
|
foreach dep : dep_names
|
||||||
|
deps += dependency(dep)
|
||||||
|
endforeach
|
||||||
|
|
||||||
|
# compile the main project
|
||||||
|
executable('luppp', luppp_src,
|
||||||
|
dependencies: deps)
|
1
src/avtk/meson.build
Normal file
1
src/avtk/meson.build
Normal file
|
@ -0,0 +1 @@
|
||||||
|
luppp_src += files( 'bindings.cxx', 'volume.cxx', 'clipselector.cxx')
|
1
src/cjson/meson.build
Normal file
1
src/cjson/meson.build
Normal file
|
@ -0,0 +1 @@
|
||||||
|
luppp_src += files('cJSON.c')
|
6
src/controller/meson.build
Normal file
6
src/controller/meson.build
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
luppp_src += files(
|
||||||
|
'controller.cxx',
|
||||||
|
'genericmidi.cxx',
|
||||||
|
'guicontroller.cxx',
|
||||||
|
'nonseq.cxx'
|
||||||
|
)
|
1
src/dsp/meson.build
Normal file
1
src/dsp/meson.build
Normal file
|
@ -0,0 +1 @@
|
||||||
|
luppp_src += files('dsp_sidechain_gain.cxx')
|
32
src/meson.build
Normal file
32
src/meson.build
Normal file
|
@ -0,0 +1,32 @@
|
||||||
|
luppp_src = files(
|
||||||
|
'audiobuffer.cxx',
|
||||||
|
'controllerupdater.cxx',
|
||||||
|
'debug.cxx',
|
||||||
|
'diskreader.cxx',
|
||||||
|
'diskwriter.cxx',
|
||||||
|
'event.cxx',
|
||||||
|
'eventhandlerdsp.cxx',
|
||||||
|
'eventhandlergui.cxx',
|
||||||
|
'gaudioeditor.cxx',
|
||||||
|
'gmastertrack.cxx',
|
||||||
|
'goptions.cxx',
|
||||||
|
'gridlogic.cxx',
|
||||||
|
'gtrack.cxx',
|
||||||
|
'gui.cxx',
|
||||||
|
'jack.cxx',
|
||||||
|
'jacksendreturn.cxx',
|
||||||
|
'logic.cxx',
|
||||||
|
'looperclip.cxx',
|
||||||
|
'looper.cxx',
|
||||||
|
'main.cxx',
|
||||||
|
'metronome.cxx',
|
||||||
|
'timemanager.cxx',
|
||||||
|
'trackoutput.cxx'
|
||||||
|
)
|
||||||
|
|
||||||
|
subdir('cjson')
|
||||||
|
subdir('dsp')
|
||||||
|
subdir('controller')
|
||||||
|
subdir('observer')
|
||||||
|
subdir('state')
|
||||||
|
subdir('avtk')
|
1
src/observer/meson.build
Normal file
1
src/observer/meson.build
Normal file
|
@ -0,0 +1 @@
|
||||||
|
luppp_src += files('midi.cxx', 'time.cxx')
|
1
src/state/meson.build
Normal file
1
src/state/meson.build
Normal file
|
@ -0,0 +1 @@
|
||||||
|
luppp_src += files('state.cxx', 'stately.cxx')
|
Loading…
Add table
Reference in a new issue