95591d2938
Move unix/ and win/ to sys/, so that we can use android/ for android headers without confusion.
28 lines
550 B
Meson
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)
|