51 lines
1.1 KiB
Meson
51 lines
1.1 KiB
Meson
version_hxx = vcs_tag(
|
|
input : 'version.hxx.in',
|
|
output : 'version.hxx',
|
|
command: ['git', 'describe', '--dirty=+', '--match=release-*', '--tags'],
|
|
fallback: meson.project_version())
|
|
|
|
if not get_option('unitTests')
|
|
message('Create build config for publishing')
|
|
loopp_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')
|
|
|
|
if get_option('tests')
|
|
message('Built with Diskwriter Tests')
|
|
subdir('tests')
|
|
endif
|
|
endif
|
|
|
|
if get_option('unitTests')
|
|
message('Create build config for unit tests')
|
|
subdir('unitTests')
|
|
endif |