Compile with Meson version #defined

pull/326/head
Kelson 7 years ago
parent 4b5eb482b5
commit 612081ec51

@ -5,6 +5,8 @@ project('kiwix-tools', 'cpp',
compiler = meson.get_compiler('cpp')
add_global_arguments('-DVERSION="@0@"'.format(meson.project_version()), language : 'cpp')
static_linkage = get_option('static-linkage')
if static_linkage
add_global_link_arguments('-static-libstdc++', '--static', language:'cpp')

Loading…
Cancel
Save