mirror of
https://github.com/Genymobile/scrcpy
synced 2024-12-13 10:46:45 +00:00
95591d2938
Move unix/ and win/ to sys/, so that we can use android/ for android headers without confusion.
29 lines
550 B
Meson
29 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)
|