From 3b05d091264431c444424eb5cd492dfee67ac50f Mon Sep 17 00:00:00 2001 From: Ludovic Rousseau Date: Fri, 16 Aug 2024 15:36:27 +0200 Subject: [PATCH] meson: add option to set ATRparser --- meson.build | 1 + meson.options | 5 +++++ 2 files changed, 6 insertions(+) create mode 100644 meson.options diff --git a/meson.build b/meson.build index 988b33c..4c6aa04 100644 --- a/meson.build +++ b/meson.build @@ -11,6 +11,7 @@ project('pcsc-tools', 'c', version : '1.7.2') conf_data = configuration_data({ 'PACKAGE_VERSION' : '"' + meson.project_version() + '"', 'pcsc_dir' : get_option('prefix') / get_option('datadir') / 'pcsc', + 'ATR_PARSER' : '"' + get_option('ATRparser') + '"', }) extra_link_args = [] diff --git a/meson.options b/meson.options new file mode 100644 index 0000000..e9247db --- /dev/null +++ b/meson.options @@ -0,0 +1,5 @@ +option('ATRparser', + type : 'string', + value : 'ATR_analysis', + description : 'filename of the ATR parser to use') +