2018-11-12 13:09:11 +00:00
|
|
|
project('scrcpy', 'c',
|
2021-11-13 23:22:12 +00:00
|
|
|
version: '1.20',
|
2020-04-13 20:43:28 +00:00
|
|
|
meson_version: '>= 0.48',
|
2019-11-26 08:22:20 +00:00
|
|
|
default_options: [
|
|
|
|
'c_std=c11',
|
|
|
|
'warning_level=2',
|
2021-02-16 22:26:35 +00:00
|
|
|
'b_ndebug=if-release',
|
2019-11-26 08:22:20 +00:00
|
|
|
])
|
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'])
|