mirror of
https://github.com/gabime/spdlog.git
synced 2025-09-28 17:19:34 +08:00
Extract version from header file
This commit is contained in:
10
meson.build
10
meson.build
@@ -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',
|
||||
],
|
||||
)
|
||||
|
||||
# ------------------------
|
||||
|
Reference in New Issue
Block a user