2018-05-14 13:15:52 +00:00
|
|
|
|
2019-11-19 19:18:13 +00:00
|
|
|
examples = [ 'enroll', 'verify', 'manage-prints' ]
|
2018-05-14 13:15:52 +00:00
|
|
|
foreach example: examples
|
|
|
|
executable(example,
|
2019-06-13 13:10:25 +00:00
|
|
|
[example + '.c', 'storage.c'],
|
2019-11-19 19:18:13 +00:00
|
|
|
dependencies: [libfprint_dep, glib_dep],
|
2018-05-14 13:15:52 +00:00
|
|
|
include_directories: [
|
|
|
|
root_inc,
|
|
|
|
],
|
|
|
|
c_args: common_cflags)
|
|
|
|
endforeach
|
|
|
|
|
2019-11-19 19:18:13 +00:00
|
|
|
executable('cpp-test',
|
|
|
|
'cpp-test.cpp',
|
|
|
|
dependencies: libfprint_dep,
|
|
|
|
include_directories: [
|
|
|
|
root_inc,
|
|
|
|
],
|
|
|
|
c_args: common_cflags)
|
2018-05-14 13:15:52 +00:00
|
|
|
|
2019-07-03 21:47:35 +00:00
|
|
|
# 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
|