51 lines
962 B
Meson
51 lines
962 B
Meson
inc += include_directories('.')
|
|
|
|
headers = [
|
|
'adapter/adapter.hpp',
|
|
|
|
'utils/fft/fft.hpp',
|
|
'utils/fft/rdft.hpp',
|
|
'utils/cvec/cvec.hpp',
|
|
'utils/fvec/fvec.hpp',
|
|
'utils/real_time/real_time.hpp',
|
|
'utils/workers/plugin.hpp',
|
|
'utils/workers/result.hpp',
|
|
'utils/workers/setup.hpp',
|
|
'utils/windows/hann/hann.hpp',
|
|
|
|
# plugins
|
|
'plugins/raw_data/raw_data.hpp',
|
|
'plugins/magnitude/magnitude.hpp',
|
|
'plugins/fft/fft.hpp',
|
|
|
|
'harmonica.hpp'
|
|
]
|
|
|
|
sources = [
|
|
'utils/real_time/real_time.cpp',
|
|
'utils/cvec/cvec.cpp',
|
|
'utils/fvec/fvec.cpp',
|
|
|
|
'utils/windows/hann/hann.cpp',
|
|
|
|
# plugins
|
|
'plugins/raw_data/raw_data.cpp',
|
|
'plugins/magnitude/magnitude.cpp',
|
|
'plugins/fft/fft.cpp',
|
|
]
|
|
|
|
lib = library(
|
|
meson.project_name(),
|
|
include_directories : inc,
|
|
sources: [headers, sources],
|
|
dependencies : deps,
|
|
cpp_args: args
|
|
)
|
|
|
|
harmonica_sdk_dep = declare_dependency(
|
|
include_directories: inc,
|
|
link_with: lib
|
|
)
|
|
|
|
deps += harmonica_sdk_dep
|