summaryrefslogtreecommitdiff
path: root/libmysqlpp/Jamfile.jam
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2015-09-24 03:03:25 +0100
committerDan Goodliffe <dan@randomdan.homeip.net>2015-09-24 03:06:07 +0100
commit3cf494c3896f903d9e0179c12897ffb6c7cbf4d5 (patch)
tree3e36d5011da0b11277de4f416285bcb9c7880968 /libmysqlpp/Jamfile.jam
parentConnector compatibility fix (diff)
downloadlibdbpp-mysql-3cf494c3896f903d9e0179c12897ffb6c7cbf4d5.tar.bz2
libdbpp-mysql-3cf494c3896f903d9e0179c12897ffb6c7cbf4d5.tar.xz
libdbpp-mysql-3cf494c3896f903d9e0179c12897ffb6c7cbf4d5.zip
MySQL mocking and tests from Project2
Diffstat (limited to 'libmysqlpp/Jamfile.jam')
-rw-r--r--libmysqlpp/Jamfile.jam9
1 files changed, 6 insertions, 3 deletions
diff --git a/libmysqlpp/Jamfile.jam b/libmysqlpp/Jamfile.jam
index 21414f2..8d6d2f6 100644
--- a/libmysqlpp/Jamfile.jam
+++ b/libmysqlpp/Jamfile.jam
@@ -11,17 +11,20 @@ alias libmysql : : : :
<linkflags>"`mysql_config --libs`"
;
-
-lib mysqlpp :
+lib dbpp-mysql :
[ glob *.cpp ] :
- <cflags>-fPIC
<library>glibmm
<library>libmysql
<library>../libdbpp
<library>adhocutil
+ <cflags>-fvisibility=hidden
+ <variant>release:<cflags>-flto
: :
<include>.
<cflags>"-I`mysql_config --include`"
<library>glibmm
<library>../libdbpp
;
+
+build-project unittests ;
+