meson.build 443 B

1234567891011121314151617181920
  1. project('scrcpy', 'c',
  2. version: '2.3.1',
  3. meson_version: '>= 0.48',
  4. default_options: [
  5. 'c_std=c11',
  6. 'warning_level=2',
  7. 'b_ndebug=if-release',
  8. ])
  9. add_project_arguments('-Wmissing-prototypes', language: 'c')
  10. if get_option('compile_app')
  11. subdir('app')
  12. endif
  13. if get_option('compile_server')
  14. subdir('server')
  15. endif
  16. run_target('run', command: ['scripts/run-scrcpy.sh'])