2018-11-12 14:09:11 +01:00
|
|
|
project('scrcpy', 'c',
|
2024-12-08 18:15:46 +01:00
|
|
|
version: '3.1',
|
2024-12-12 17:59:36 +01:00
|
|
|
meson_version: '>= 0.49',
|
2019-11-26 09:22:20 +01:00
|
|
|
default_options: [
|
|
|
|
'c_std=c11',
|
|
|
|
'warning_level=2',
|
2021-02-16 23:26:35 +01:00
|
|
|
'b_ndebug=if-release',
|
2019-11-26 09:22:20 +01:00
|
|
|
])
|
2018-02-13 11:55:12 +01:00
|
|
|
|
2023-10-24 23:03:10 +02:00
|
|
|
add_project_arguments('-Wmissing-prototypes', language: 'c')
|
|
|
|
|
2019-07-29 15:19:07 +02:00
|
|
|
if get_option('compile_app')
|
2018-02-14 11:10:09 +01:00
|
|
|
subdir('app')
|
|
|
|
endif
|
|
|
|
|
2019-07-29 15:19:07 +02:00
|
|
|
if get_option('compile_server')
|
2018-02-14 11:10:09 +01:00
|
|
|
subdir('server')
|
|
|
|
endif
|