improve source tree structure

This commit is contained in:
Alexander Epaneshnikov 2021-01-25 01:53:08 +03:00
commit d3b6c29a79
No known key found for this signature in database
GPG key ID: 1736C918F59A5673
5 changed files with 14 additions and 10 deletions

View file

@ -9,16 +9,10 @@ espeak_dep = dependency('espeak-ng')
alsa_dep = dependency('alsa')
m_dep = cc.find_library('m', required : false)
subdir('src')
executable('espeakup',
'src/cli.c',
'src/espeak.c',
'src/espeakup.c',
'src/espeakup.h',
'src/queue.c',
'src/queue.h',
'src/signal.c',
'src/softsynth.c',
'src/stringhandling.c',
'src/stringhandling.h',
espeakup_sources,
include_directories : espeakup_incdir,
dependencies : [thread_dep, espeak_dep, alsa_dep, m_dep],
install : true)

10
src/meson.build Normal file
View file

@ -0,0 +1,10 @@
espeakup_incdir = include_directories('include')
espeakup_sources = files([
'cli.c',
'espeak.c',
'espeakup.c',
'queue.c',
'signal.c',
'softsynth.c',
'stringhandling.c'
])