update build system

This commit is contained in:
2019-01-05 00:28:18 -03:00
parent c37c341784
commit ed580cfe2a
34 changed files with 164 additions and 64 deletions

View File

@@ -9,12 +9,12 @@ project('sernatur',
'b_ndebug=if-release'
]
)
add_global_arguments('-DGETTEXT_PACKAGE="sernatur"', language: 'c')
add_project_arguments('-DGETTEXT_PACKAGE="' + meson.project_name() + '"', language: 'c')
debugging = get_option('debugging')
if debugging
add_global_arguments('-DDEBUG', language : 'c')
add_global_arguments('-D', 'DEBUG', language : 'vala')
add_project_arguments('-DDEBUG', language : 'c')
add_project_arguments('-D', 'DEBUG', language : 'vala')
endif
add_project_arguments(['--vapidir',