7e70344b4a
We were passing around the common cflags and setting them for each library or executable, but this is just a repetition given we can just use add_project_arguments for this.
17 lines
413 B
Meson
17 lines
413 B
Meson
|
|
examples = [ 'enroll', 'verify', 'manage-prints' ]
|
|
foreach example: examples
|
|
executable(example,
|
|
[ example + '.c', 'storage.c', 'utilities.c' ],
|
|
dependencies: [ libfprint_dep, glib_dep ],
|
|
include_directories: [
|
|
root_inc,
|
|
])
|
|
endforeach
|
|
|
|
executable('cpp-test',
|
|
'cpp-test.cpp',
|
|
dependencies: libfprint_dep,
|
|
include_directories: [
|
|
root_inc,
|
|
])
|