Rewrite tests/example-test.cpp to use addressbook example from capnproto C++ project.

This commit is contained in:
Alex Helfet 2017-03-27 03:30:37 +01:00
parent 989acc3414
commit 531eefc3cc
9 changed files with 474 additions and 166 deletions

View file

@ -63,19 +63,19 @@ capn_test_SOURCES = \
tests/capn-test.cpp \
tests/capn-stream-test.cpp \
tests/example-test.cpp \
tests/example.capnp.c \
tests/addressbook.capnp.c \
compiler/test.capnp.c \
compiler/schema-test.cpp \
compiler/schema.capnp.c
noinst_HEADERS += \
compiler/test.capnp.h \
tests/example.capnp.h
tests/addressbook.capnp.h
EXTRA_DIST += \
compiler/c.capnp \
compiler/c++.capnp \
compiler/schema.capnp \
compiler/test.capnp \
tests/example.capnp
tests/addressbook.capnp
capn_test_CPPFLAGS = $(AM_CPPFLAGS) $(GTEST_CPPFLAGS)
capn_test_CXXFLAGS = -std=gnu++11 -pthread
capn_test_LDADD = libcapnp_c.la $(GTEST_LDADD)