diff options
author | Dan Goodliffe <dan@randomdan.homeip.net> | 2015-09-25 20:05:18 +0100 |
---|---|---|
committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2015-09-25 20:05:18 +0100 |
commit | b9d8ac64598f62caa7b68ad22a008233656c8d61 (patch) | |
tree | 7373adb106912f277a98b758e89c8f67c4a9a6af /libpqpp/unittests | |
parent | Install rules (diff) | |
download | libdbpp-postgresql-b9d8ac64598f62caa7b68ad22a008233656c8d61.tar.bz2 libdbpp-postgresql-b9d8ac64598f62caa7b68ad22a008233656c8d61.tar.xz libdbpp-postgresql-b9d8ac64598f62caa7b68ad22a008233656c8d61.zip |
Use system dbpp
Diffstat (limited to 'libpqpp/unittests')
-rw-r--r-- | libpqpp/unittests/Jamfile.jam | 7 | ||||
-rw-r--r-- | libpqpp/unittests/testpq.cpp | 6 |
2 files changed, 9 insertions, 4 deletions
diff --git a/libpqpp/unittests/Jamfile.jam b/libpqpp/unittests/Jamfile.jam index 39d0576..66c4b49 100644 --- a/libpqpp/unittests/Jamfile.jam +++ b/libpqpp/unittests/Jamfile.jam @@ -3,6 +3,9 @@ import testing ; path-constant me : . ; lib boost_utf : : <name>boost_unit_test_framework ; +lib boost_filesystem ; +lib boost_system ; +lib dbpptestcore : : : : <include>/usr/include/dbpp ; run testpq.cpp @@ -10,8 +13,10 @@ run <define>ROOT=\"$(me)\" <define>BOOST_TEST_DYN_LINK <library>..//dbpp-postgresql - <library>../../libdbpp//dbpptestcore + <library>dbpptestcore <library>boost_utf + <library>boost_filesystem + <library>boost_system : testpq ; diff --git a/libpqpp/unittests/testpq.cpp b/libpqpp/unittests/testpq.cpp index 58441d2..3942cfd 100644 --- a/libpqpp/unittests/testpq.cpp +++ b/libpqpp/unittests/testpq.cpp @@ -2,9 +2,9 @@ #include <boost/test/unit_test.hpp> #include <definedDirs.h> -#include <modifycommand.h> -#include <selectcommand.h> -#include <column.h> +#include <dbpp/modifycommand.h> +#include <dbpp/selectcommand.h> +#include <dbpp/column.h> #include "mock.h" #include <testCore.h> #include <fstream> |