summaryrefslogtreecommitdiff
path: root/libodbcpp/Jamfile.jam
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2015-09-25 21:20:54 +0100
committerDan Goodliffe <dan@randomdan.homeip.net>2015-09-25 21:20:54 +0100
commit88e225f1c76a74fbed83e670f394c4ebe886059a (patch)
tree52c3c198e73bfad691c4cc4d48fe6de9b575c5de /libodbcpp/Jamfile.jam
parentODBC mocking and tests from Project2 (diff)
downloadlibdbpp-odbc-88e225f1c76a74fbed83e670f394c4ebe886059a.tar.bz2
libdbpp-odbc-88e225f1c76a74fbed83e670f394c4ebe886059a.tar.xz
libdbpp-odbc-88e225f1c76a74fbed83e670f394c4ebe886059a.zip
Install rules and use system dbpplibdbpp-odbc-0.9
Diffstat (limited to 'libodbcpp/Jamfile.jam')
-rw-r--r--libodbcpp/Jamfile.jam20
1 files changed, 15 insertions, 5 deletions
diff --git a/libodbcpp/Jamfile.jam b/libodbcpp/Jamfile.jam
index 9cd4f7f..5ea8c4d 100644
--- a/libodbcpp/Jamfile.jam
+++ b/libodbcpp/Jamfile.jam
@@ -1,22 +1,32 @@
+import package ;
alias glibmm : : : :
<cflags>"`pkg-config --cflags glibmm-2.4`"
<linkflags>"`pkg-config --libs glibmm-2.4`"
;
lib odbc : : <name>odbc ;
+lib adhocutil : : : : <include>/usr/include/adhocutil ;
+lib dbppcore : : : : <include>/usr/include/dbpp ;
+lib boost_date_time ;
+lib boost_system ;
lib dbpp-odbc :
[ glob *.cpp ] :
- <library>glibmm
- <library>odbc
- <library>../libdbpp
+ <library>glibmm
+ <library>odbc
+ <library>adhocutil
+ <library>dbppcore
+ <library>boost_date_time
+ <library>boost_system
<cflags>-fvisibility=hidden
<variant>release:<cflags>-flto
: :
<include>.
- <library>glibmm
- <library>../libdbpp
+ <library>glibmm
+ <library>dbppcore
;
build-project unittests ;
+package.install install : <install-source-root>. : : dbpp-odbc : [ glob *.h ] ;
+