Make servers configurable from meson

This commit is contained in:
Tamás Bálint Misius
2020-12-15 22:02:56 +01:00
parent e9bed49906
commit 6ab46c20e7
5 changed files with 35 additions and 3 deletions

View File

@@ -228,6 +228,13 @@ conf_data.set('SNAPSHOT', get_option('snapshot'))
conf_data.set('SNAPSHOT_ID', get_option('snapshot_id'))
conf_data.set('FUTURE_SAVE_VERSION', get_option('future_major'))
conf_data.set('FUTURE_MINOR_VERSION', get_option('future_minor'))
conf_data.set('SERVER', '"' + get_option('server') + '"')
conf_data.set('STATICSERVER', '"' + get_option('static_server') + '"')
if get_option('update_server') != ''
conf_data.set('UPDATESERVER', '"' + get_option('update_server') + '"')
else
conf_data.set('UPDATESERVER', false)
endif
resources_files = []