Fix version number, fix version.hxx generation
parent
47547beb15
commit
2b649b14e0
|
@ -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')
|
||||
|
|
|
@ -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')
|
||||
|
|
Loading…
Reference in New Issue