Fix version number, fix version.hxx generation

main
Georg Krause 2019-06-11 11:27:50 +02:00
parent 47547beb15
commit 2b649b14e0
2 changed files with 4 additions and 6 deletions

View File

@ -1,11 +1,8 @@
project( 'loopp', ['c','cpp'],
default_options : [
'cpp_std=c++11',
])
conf_data = configuration_data()
conf_data.set('version', '1.2.0')
],
version: '1.2.1')
if(get_option('tests') == true)
add_project_arguments('-DBUILD_TESTS', language : 'cpp')

View File

@ -1,7 +1,8 @@
version_hxx = vcs_tag(
input : 'version.hxx.in',
output : 'version.hxx',
fallback: 'Version info could not be read.')
command: ['git', 'describe', '--dirty=+', '--match=release-*', '--tags'],
fallback: meson.project_version())
if not get_option('unitTests')
message('Create build config for publishing')