2018-11-12 13:09:11 +00:00
|
|
|
project('scrcpy', 'c',
|
2019-12-10 09:07:48 +00:00
|
|
|
version: '1.12.1',
|
2018-11-12 13:09:11 +00:00
|
|
|
meson_version: '>= 0.37',
|
2019-11-26 08:22:20 +00:00
|
|
|
default_options: [
|
|
|
|
'c_std=c11',
|
|
|
|
'warning_level=2',
|
|
|
|
])
|
2018-02-13 10:55:12 +00:00
|
|
|
|
2019-07-29 13:19:07 +00:00
|
|
|
if get_option('compile_app')
|
2018-02-14 10:10:09 +00:00
|
|
|
subdir('app')
|
|
|
|
endif
|
|
|
|
|
2019-07-29 13:19:07 +00:00
|
|
|
if get_option('compile_server')
|
2018-02-14 10:10:09 +00:00
|
|
|
subdir('server')
|
|
|
|
endif
|
2018-02-13 10:55:12 +00:00
|
|
|
|
|
|
|
run_target('run', command: ['scripts/run-scrcpy.sh'])
|