project('scrcpy', 'c', meson_version: '>= 0.37', default_options : 'c_std=c99')
if get_option('build_app')
subdir('app')
endif
if get_option('build_server')
subdir('server')
run_target('run', command: ['scripts/run-scrcpy.sh'])