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
commit84b5b4640fb67753fb32b4af43bc9b5cbc7c4398 (patch)
tree23713181f070eb7e6146eaa11156952cac81e561
parentPostgreSQL mocking and tests from Project2 (diff)
downloadlibdbpp-postgresql-84b5b4640fb67753fb32b4af43bc9b5cbc7c4398.tar.bz2
libdbpp-postgresql-84b5b4640fb67753fb32b4af43bc9b5cbc7c4398.tar.xz
libdbpp-postgresql-84b5b4640fb67753fb32b4af43bc9b5cbc7c4398.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 ] ;
+