examples: Add back examples using the async APIs

Add the examples back by using the new async API, support verification and
enroll for devices with own storage.
This commit is contained in:
Marco Trevisan (Treviño)
2019-11-19 20:18:13 +01:00
committed by Benjamin Berg
parent 7d6b0c1376
commit b46d336d2b
6 changed files with 434 additions and 245 deletions

View File

@@ -1,22 +1,22 @@
examples = [ 'verify_live', 'enroll', 'verify', 'img_capture' ]
examples = [ 'enroll', 'verify', 'manage-prints' ]
foreach example: examples
executable(example,
[example + '.c', 'storage.c'],
dependencies: [libfprint_dep],
dependencies: [libfprint_dep, glib_dep],
include_directories: [
root_inc,
],
c_args: common_cflags)
endforeach
# executable('cpp-test',
# 'cpp-test.cpp',
# dependencies: libfprint_dep,
# include_directories: [
# root_inc,
# ],
# c_args: common_cflags)
executable('cpp-test',
'cpp-test.cpp',
dependencies: libfprint_dep,
include_directories: [
root_inc,
],
c_args: common_cflags)
# if get_option('x11-examples')
# executable('img_capture_continuous',