meson.build 842 Bytes
Newer Older
Bastien Nocera's avatar
Bastien Nocera committed
1
2
3
4

examples = [ 'verify_live', 'enroll', 'verify', 'img_capture' ]
foreach example: examples
    executable(example,
5
               [example + '.c', 'storage.c'],
6
               dependencies: [libfprint_dep],
Bastien Nocera's avatar
Bastien Nocera committed
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
               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