mirror of
https://github.com/Rafostar/clapper.git
synced 2025-12-24 05:56:41 +01:00
meson: Do internal compilation with clapper warnings disabled
So we do not print deprecation warnings about our own legacy APIs which are left for compatibility purposes
This commit is contained in:
@@ -91,6 +91,7 @@ clapperapp_sources = [
|
||||
clapperapp_c_args = [
|
||||
'-DG_LOG_DOMAIN="ClapperApp"',
|
||||
'-DCLAPPER_APP_INTERNAL_COMPILATION',
|
||||
'-DCLAPPER_DISABLE_DEPRECATION_WARNINGS',
|
||||
'-DGST_USE_UNSTABLE_API',
|
||||
]
|
||||
|
||||
|
||||
@@ -139,6 +139,7 @@ clappergtk_sources = [
|
||||
clappergtk_c_args = [
|
||||
'-DG_LOG_DOMAIN="ClapperGtk"',
|
||||
'-DCLAPPER_GTK_COMPILATION',
|
||||
'-DCLAPPER_DISABLE_DEPRECATION_WARNINGS',
|
||||
'-DGST_USE_UNSTABLE_API',
|
||||
]
|
||||
|
||||
|
||||
@@ -171,6 +171,7 @@ clapper_sources = [
|
||||
clapper_c_args = [
|
||||
'-DG_LOG_DOMAIN="Clapper"',
|
||||
'-DCLAPPER_COMPILATION',
|
||||
'-DCLAPPER_DISABLE_DEPRECATION_WARNINGS',
|
||||
'-DGST_USE_UNSTABLE_API',
|
||||
'-DG_SETTINGS_ENABLE_BACKEND',
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user