mirror of
https://github.com/WonderfulToolchain/psxavenc.git
synced 2025-12-17 11:30:26 +00:00
first commit
This commit is contained in:
24
meson.build
Normal file
24
meson.build
Normal file
@@ -0,0 +1,24 @@
|
||||
project('psxavenc', 'c', default_options: ['c_std=c11'])
|
||||
|
||||
ffmpeg = [
|
||||
dependency('libavformat'),
|
||||
dependency('libavcodec'),
|
||||
dependency('libavutil'),
|
||||
dependency('libswresample'),
|
||||
dependency('libswscale')
|
||||
]
|
||||
|
||||
libpsxav = static_library('psxav', [
|
||||
'libpsxav/adpcm.c',
|
||||
'libpsxav/cdrom.c',
|
||||
'libpsxav/libpsxav.h'
|
||||
])
|
||||
libpsxav_dep = declare_dependency(include_directories: include_directories('libpsxav'), link_with: libpsxav)
|
||||
|
||||
executable('psxavenc', [
|
||||
'psxavenc/cdrom.c',
|
||||
'psxavenc/decoding.c',
|
||||
'psxavenc/filefmt.c',
|
||||
'psxavenc/mdec.c',
|
||||
'psxavenc/psxavenc.c'
|
||||
], dependencies: [ffmpeg, libpsxav_dep], install: true)
|
||||
Reference in New Issue
Block a user