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