update build system
This commit is contained in:
@@ -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',
|
||||
|
Reference in New Issue
Block a user