Generate config.h

This allows us to remove a lot of #ifdef's. Either we want to use
a config.h or we don't. Since we'll want it for e.g. optional gsound
support later on let's have it.
This commit is contained in:
Guido Günther
2019-07-17 19:40:52 +02:00
parent c65583b911
commit dbc8cc14bc
30 changed files with 19 additions and 52 deletions

View File

@ -9,6 +9,8 @@ project(
i18n = import('i18n')
conf_data = configuration_data()
if get_option('buildtype').startswith('debug')
add_project_arguments('-DDEBUG=1', language : 'c')
endif
@ -26,6 +28,16 @@ else
endif
dbusdir = join_paths(depdatadir, 'dbus-1/interfaces')
summary = [
'',
'------------------',
'squeekboard @0@'.format(meson.project_version()),
'',
'------------------',
''
]
message('\n'.join(summary))
subdir('data')
subdir('protocols')
subdir('eek')