Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Vasily Khoruzhick
libfprint
Commits
6bfc5165
Commit
6bfc5165
authored
Sep 08, 2010
by
Bastien Nocera
Browse files
Add test program for C++ support
So that we don't regress
parent
ff842125
Changes
3
Hide whitespace changes
Inline
Side-by-side
configure.ac
View file @
6bfc5165
...
...
@@ -9,6 +9,7 @@ AC_PROG_CC
AC_PROG_LIBTOOL
AC_C_INLINE
AM_PROG_CC_C_O
AC_PROG_CXX
AC_DEFINE([_GNU_SOURCE], [], [Use GNU extensions])
# Library versioning
...
...
examples/Makefile.am
View file @
6bfc5165
INCLUDES
=
-I
$(top_srcdir)
noinst_PROGRAMS
=
verify_live enroll verify img_capture
noinst_PROGRAMS
=
verify_live enroll verify img_capture
cpp-test
verify_live_SOURCES
=
verify_live.c
verify_live_LDADD
=
../libfprint/libfprint.la
...
...
@@ -13,6 +13,9 @@ verify_LDADD = ../libfprint/libfprint.la
img_capture_SOURCES
=
img_capture.c
img_capture_LDADD
=
../libfprint/libfprint.la
cpp_test_SOURCES
=
cpp-test.cpp
cpp_test_LDADD
=
../libfprint/libfprint.la
if
BUILD_X11_EXAMPLES
noinst_PROGRAMS
+=
img_capture_continuous
...
...
examples/cpp-test.cpp
0 → 100644
View file @
6bfc5165
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include <libfprint/fprint.h>
int
main
(
int
argc
,
char
**
argv
)
{
fp_init
();
return
0
;
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment