meson.build 380 B

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