Extract version from header file

This commit is contained in:
Daniel Mensinger
2019-06-30 16:48:20 +02:00
parent 822aee2b4f
commit af4026104c
2 changed files with 25 additions and 2 deletions

View File

@@ -1,7 +1,13 @@
project('spdlog', ['cpp'],
license : 'MIT',
version : '1.3.1',
default_options : ['warning_level=3', 'cpp_std=c++11', 'default_library=static'],
version : run_command(find_program('extract_version.py')).stdout().strip(),
default_options : [
'warning_level=3',
'cpp_std=c++11',
'default_library=static',
'buildtype=release',
'b_colorout=always',
],
)
# ------------------------