Add a --version option

And fix that --reservation was missing from the optstring.
This commit is contained in:
2020-09-05 20:00:11 +02:00
parent 796a9640d3
commit 46fa50749f
2 changed files with 15 additions and 2 deletions

View File

@@ -1,4 +1,11 @@
project('pdf-simple-sign', 'cpp', default_options : ['cpp_std=c++11'])
project('pdf-simple-sign', 'cpp', default_options : ['cpp_std=c++11'],
version : '1.0')
conf = configuration_data()
conf.set('PROJECT_NAME', '"' + meson.project_name() + '"')
conf.set('PROJECT_VERSION', '"' + meson.project_version() + '"')
configure_file(output : 'config.h', configuration : conf)
cryptodep = dependency('libcrypto')
executable('pdf-simple-sign', 'pdf-simple-sign.cpp',
install : true,