2018-05-14 15:15:52 +02:00
|
|
|
|
2020-11-08 03:58:58 +01:00
|
|
|
examples = [
|
|
|
|
|
'enroll',
|
|
|
|
|
'identify',
|
|
|
|
|
'img-capture',
|
|
|
|
|
'manage-prints',
|
|
|
|
|
'verify',
|
2024-05-23 00:41:40 +01:00
|
|
|
'clear-storage',
|
2020-11-08 03:58:58 +01:00
|
|
|
]
|
|
|
|
|
|
2018-05-14 15:15:52 +02:00
|
|
|
foreach example: examples
|
|
|
|
|
executable(example,
|
2019-11-21 20:37:17 +01:00
|
|
|
[ example + '.c', 'storage.c', 'utilities.c' ],
|
2019-12-13 19:33:12 +01:00
|
|
|
dependencies: [
|
|
|
|
|
libfprint_dep,
|
|
|
|
|
glib_dep,
|
|
|
|
|
],
|
2019-12-12 14:52:23 +01:00
|
|
|
)
|
2018-05-14 15:15:52 +02:00
|
|
|
endforeach
|
|
|
|
|
|
2019-11-19 20:18:13 +01:00
|
|
|
executable('cpp-test',
|
2019-11-21 20:37:17 +01:00
|
|
|
'cpp-test.cpp',
|
|
|
|
|
dependencies: libfprint_dep,
|
2019-12-12 14:52:23 +01:00
|
|
|
)
|
2023-06-23 13:44:59 -04:00
|
|
|
|
|
|
|
|
if installed_tests
|
|
|
|
|
install_subdir('prints',
|
|
|
|
|
install_dir: installed_tests_testdir)
|
|
|
|
|
endif
|