25 lines
670 B
Meson
25 lines
670 B
Meson
project('magicstore', 'cpp',
|
|
version: '0.1.0',
|
|
default_options: ['buildtype=debug', 'cpp_std=gnu++17', 'c_std=c11', 'build_testing=true'],
|
|
)
|
|
|
|
libopencv_dep = dependency('opencv4')
|
|
libavcodec_dep = dependency('libavcodec', version: '>=58.134.100')
|
|
libavutil_dep = dependency('libavutil', version: '>=56.70.100')
|
|
libswscale_dep = dependency('libswscale', version: '>=5.9.100')
|
|
|
|
executable(meson.project_name(),
|
|
'src/main.cpp',
|
|
'src/camera.cpp',
|
|
'src/file_handle.cpp',
|
|
'src/ffmpeg/avcodec.cpp',
|
|
'src/ffmpeg/avdeleter.cpp',
|
|
'src/ffmpeg/decoder.cpp',
|
|
dependencies: [
|
|
libopencv_dep,
|
|
libavcodec_dep,
|
|
libavutil_dep,
|
|
libswscale_dep,
|
|
],
|
|
install: true,
|
|
)
|