summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2015-09-25 19:40:29 +0100
committerDan Goodliffe <dan@randomdan.homeip.net>2015-09-25 19:40:29 +0100
commit7f8bfd21e4f88f05c10113c5a3e5531b8bef47c6 (patch)
tree63bdca52137d1049f820f3111ae882539e9810a9
parentPostgreSQL mocking and tests from Project2 (diff)
downloadlibdbpp-postgresql-7f8bfd21e4f88f05c10113c5a3e5531b8bef47c6.tar.bz2
libdbpp-postgresql-7f8bfd21e4f88f05c10113c5a3e5531b8bef47c6.tar.xz
libdbpp-postgresql-7f8bfd21e4f88f05c10113c5a3e5531b8bef47c6.zip
Install rules
-rw-r--r--libpqpp/Jamfile.jam19
1 files changed, 14 insertions, 5 deletions
diff --git a/libpqpp/Jamfile.jam b/libpqpp/Jamfile.jam
index 77ac045..1183d57 100644
--- a/libpqpp/Jamfile.jam
+++ b/libpqpp/Jamfile.jam
@@ -1,30 +1,39 @@
+import package ;
alias glibmm : : : :
<cflags>"`pkg-config --cflags glibmm-2.4`"
<linkflags>"`pkg-config --libs glibmm-2.4`"
;
lib pq ;
+lib adhocutil : : : : <include>/usr/include/adhocutil ;
+lib dbppcore : : : : <include>/usr/include/dbpp ;
+lib boost_date_time ;
+lib boost_system ;
alias libpq : : : :
<cflags>"-I`pg_config --includedir`"
<linkflags>"-L`pg_config --libdir`"
<library>pq
;
-
lib dbpp-postgresql :
[ glob *.cpp ] :
- <library>glibmm
+ <library>glibmm
<library>libpq
- <library>../libdbpp
+ <library>adhocutil
+ <library>dbppcore
+ <library>boost_date_time
+ <library>boost_system
<cflags>-fvisibility=hidden
<variant>release:<cflags>-flto
: :
<include>.
<cflags>"-I`pg_config --includedir`"
- <library>glibmm
- <library>../libdbpp
+ <library>glibmm
+ <library>dbppcore
;
build-project unittests ;
+package.install install : <install-source-root>. : : dbpp-postgresql : [ glob *.h ] ;
+