project('scrcpy', 'c', version: '1.14', meson_version: '>= 0.48', default_options: [ 'c_std=c11', 'warning_level=2', ]) if get_option('compile_app') subdir('app') endif if get_option('compile_server') subdir('server') endif run_target('run', command: ['scripts/run-scrcpy.sh'])