Initial commit
Start a new clean history from here.
This commit is contained in:
27
app/meson.build
Normal file
27
app/meson.build
Normal file
@@ -0,0 +1,27 @@
|
||||
project('scrcpy-app', 'c')
|
||||
|
||||
src = [
|
||||
'src/scrcpy.c',
|
||||
'src/command.c',
|
||||
'src/decoder.c',
|
||||
'src/frames.c',
|
||||
'src/netutil.c',
|
||||
'src/screen.c',
|
||||
'src/strutil.c',
|
||||
]
|
||||
|
||||
if host_machine.system() == 'windows'
|
||||
src += [ 'src/win/command.c' ]
|
||||
else
|
||||
src += [ 'src/unix/command.c' ]
|
||||
endif
|
||||
|
||||
dependencies = [
|
||||
dependency('libavformat'),
|
||||
dependency('libavcodec'),
|
||||
dependency('libavutil'),
|
||||
dependency('sdl2'),
|
||||
dependency('SDL2_net'),
|
||||
]
|
||||
|
||||
executable('scrcpy', src, dependencies: dependencies)
|
||||
Reference in New Issue
Block a user