demo: Add GTK+ test application

This commit is contained in:
Bastien Nocera
2018-10-08 16:33:04 +02:00
parent f7173e6645
commit 29461fa910
8 changed files with 1127 additions and 0 deletions

17
demo/meson.build Normal file
View File

@@ -0,0 +1,17 @@
gtk_test_resources = gnome.compile_resources('gtk-test-resources', 'gtk-libfprint-test.gresource.xml',
source_dir : '.',
c_name : 'gtk_test')
prefix = get_option('prefix')
bindir = join_paths(prefix, get_option('bindir'))
executable('gtk-libfprint-test',
[ 'gtk-libfprint-test.c', 'loop.c', 'loop.h', gtk_test_resources ],
dependencies: [ libfprint_dep, gtk_dep ],
include_directories: [
root_inc,
],
c_args: [ common_cflags,
'-DPACKAGE_VERSION="' + meson.project_version() + '"' ],
install: true,
install_dir: bindir)