2018-11-12 13:09:11 +00:00
|
|
|
project('scrcpy', 'c',
|
2024-09-15 16:59:27 +00:00
|
|
|
version: '2.7',
|
2020-04-13 20:43:28 +00:00
|
|
|
meson_version: '>= 0.48',
|
2019-11-26 08:22:20 +00:00
|
|
|
default_options: [
|
|
|
|
'c_std=c11',
|
|
|
|
'warning_level=2',
|
2021-02-16 22:26:35 +00:00
|
|
|
'b_ndebug=if-release',
|
2019-11-26 08:22:20 +00:00
|
|
|
])
|
2018-02-13 10:55:12 +00:00
|
|
|
|
2023-10-24 21:03:10 +00:00
|
|
|
add_project_arguments('-Wmissing-prototypes', language: 'c')
|
|
|
|
|
2019-07-29 13:19:07 +00:00
|
|
|
if get_option('compile_app')
|
2018-02-14 10:10:09 +00:00
|
|
|
subdir('app')
|
|
|
|
endif
|
|
|
|
|
2019-07-29 13:19:07 +00:00
|
|
|
if get_option('compile_server')
|
2018-02-14 10:10:09 +00:00
|
|
|
subdir('server')
|
|
|
|
endif
|