diff options
Diffstat (limited to 'libdbpp/unittests')
-rw-r--r-- | libdbpp/unittests/Jamfile.jam | 32 | ||||
m--------- | libdbpp/unittests/libdbpp-odbc | 0 |
2 files changed, 32 insertions, 0 deletions
diff --git a/libdbpp/unittests/Jamfile.jam b/libdbpp/unittests/Jamfile.jam index 3bbd473..805863e 100644 --- a/libdbpp/unittests/Jamfile.jam +++ b/libdbpp/unittests/Jamfile.jam @@ -8,6 +8,7 @@ lib pq : : : : ; lib mysqlclient : : : : <include>/usr/include/mysql ; lib libsqlite : : <name>sqlite3 ; +lib odbc ; lib boost_date_time ; lib boost_system ; lib boost_utf : : <name>boost_unit_test_framework : : <toolset>tidy:<xcheckxx>hicpp-* ; @@ -92,6 +93,21 @@ lib dbpp-local-sqlite : <library>..//dbppcore ; +lib dbpp-local-odbc : + [ glob libdbpp-odbc/libodbcpp/*.cpp ] : + <library>../..//glibmm + <library>odbc + <library>..//adhocutil + <library>..//dbppcore + <library>boost_date_time + <library>boost_system + <toolset>tidy:<xcheckxx>hicpp-signed-bitwise + : : + <include>libdbpp-odbc/libodbcpp + <library>../..//glibmm + <library>..//dbppcore + ; + run testPatch.cpp : : @@ -197,3 +213,19 @@ run <library>..//stdc++fs <library>boost_system ; + +run + libdbpp-odbc/libodbcpp/unittests/testodbc.cpp + : : + libdbpp-odbc/libodbcpp/unittests/odbcschema.sql + : + <define>ROOT=\"$(me)/libdbpp-odbc/libodbcpp/unittests\" + <define>BOOST_TEST_DYN_LINK + <library>dbpp-local-odbc + <library>..//dbpptestcore + <library>..//adhocutil + <library>boost_utf + <library>..//stdc++fs + <library>boost_system + ; + diff --git a/libdbpp/unittests/libdbpp-odbc b/libdbpp/unittests/libdbpp-odbc new file mode 160000 +Subproject 881033464c13398f78be306d8d785616f094789 |