2018-11-12 21:09:11 +08:00
|
|
|
project('scrcpy', 'c',
|
2019-02-16 07:53:19 +08:00
|
|
|
version: '1.7',
|
2018-11-12 21:09:11 +08:00
|
|
|
meson_version: '>= 0.37',
|
|
|
|
default_options: 'c_std=c11')
|
2018-02-13 18:55:12 +08:00
|
|
|
|
2018-02-14 18:10:09 +08:00
|
|
|
if get_option('build_app')
|
|
|
|
subdir('app')
|
|
|
|
endif
|
|
|
|
|
|
|
|
if get_option('build_server')
|
|
|
|
subdir('server')
|
|
|
|
endif
|
2018-02-13 18:55:12 +08:00
|
|
|
|
|
|
|
run_target('run', command: ['scripts/run-scrcpy.sh'])
|