314cfba9bb
When deleting prints, the API user should also delete the print from the storage (for devices that support on-device storage). Add an example to show how to do this.
29 lines
835 B
Meson
29 lines
835 B
Meson
|
|
examples = [ 'verify_live', 'enroll', 'verify', 'img_capture', 'delete' ]
|
|
foreach example: examples
|
|
executable(example,
|
|
example + '.c',
|
|
dependencies: libfprint_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)
|
|
|
|
if get_option('x11-examples')
|
|
executable('img_capture_continuous',
|
|
'img_capture_continuous.c',
|
|
dependencies: [ libfprint_dep, xv_dep, x11_dep ],
|
|
include_directories: [
|
|
root_inc,
|
|
],
|
|
c_args: common_cflags)
|
|
endif
|