From c883f62d87b7f6fa71bb64c060e25df8bf9d4210 Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Fri, 25 Sep 2015 20:15:50 +0100 Subject: Install rules and use system dbpp --- libmysqlpp/unittests/Jamfile.jam | 7 ++++++- libmysqlpp/unittests/testmysql.cpp | 6 +++--- 2 files changed, 9 insertions(+), 4 deletions(-) (limited to 'libmysqlpp/unittests') diff --git a/libmysqlpp/unittests/Jamfile.jam b/libmysqlpp/unittests/Jamfile.jam index 3e7b030..ed3e78e 100644 --- a/libmysqlpp/unittests/Jamfile.jam +++ b/libmysqlpp/unittests/Jamfile.jam @@ -3,6 +3,9 @@ import testing ; path-constant me : . ; lib boost_utf : : boost_unit_test_framework ; +lib boost_filesystem ; +lib boost_system ; +lib dbpptestcore : : : : /usr/include/dbpp ; run testmysql.cpp @@ -10,8 +13,10 @@ run ROOT=\"$(me)\" BOOST_TEST_DYN_LINK ..//dbpp-mysql - ../../libdbpp//dbpptestcore + dbpptestcore boost_utf + boost_system + boost_filesystem : testmysql ; diff --git a/libmysqlpp/unittests/testmysql.cpp b/libmysqlpp/unittests/testmysql.cpp index 6e915c0..bcbe528 100644 --- a/libmysqlpp/unittests/testmysql.cpp +++ b/libmysqlpp/unittests/testmysql.cpp @@ -3,9 +3,9 @@ #include #include -#include -#include -#include +#include +#include +#include #include #include #include -- cgit v1.2.3