summaryrefslogtreecommitdiff
path: root/cpp/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/Makefile.am')
-rw-r--r--cpp/Makefile.am8
1 files changed, 8 insertions, 0 deletions
diff --git a/cpp/Makefile.am b/cpp/Makefile.am
index 2c11535..af7e6e2 100644
--- a/cpp/Makefile.am
+++ b/cpp/Makefile.am
@@ -32,3 +32,11 @@ libmsgpack_la_LIBADD = -L../c -lmsgpackc
# -version-info CURRENT:REVISION:AGE
libmsgpack_la_LDFLAGS = -version-info 1:0:0
+check_PROGRAMS = \
+ msgpack_test
+
+msgpackc_test_SOURCES = test.cpp
+msgpackc_test_CXXFLAGS = -I$(top_srcdir) -I$(top_srcdir)/c -I$(top_srcdir)/cpp
+msgpackc_test_LDFLAGS = libmsgpack.la -lgtest_main
+
+TESTS = $(check_PROGRAMS)