scrcpy/app/meson.build
Romain Vimont 95591d2938 Move platform specific to sys/
Move unix/ and win/ to sys/, so that we can use android/ for android
headers without confusion.
2018-01-04 10:22:09 +01:00

28 lines
550 B
Meson

project('scrcpy-app', 'c')
src = [
'src/scrcpy.c',
'src/command.c',
'src/decoder.c',
'src/frames.c',
'src/lockutil.c',
'src/netutil.c',
'src/screen.c',
'src/strutil.c',
]
if host_machine.system() == 'windows'
src += [ 'src/sys/win/command.c' ]
else
src += [ 'src/sys/unix/command.c' ]
endif
dependencies = [
dependency('libavformat'),
dependency('libavcodec'),
dependency('libavutil'),
dependency('sdl2'),
dependency('SDL2_net'),
]
executable('scrcpy', src, dependencies: dependencies)