diff options
author | Dan Goodliffe <dan@randomdan.homeip.net> | 2015-09-24 03:03:25 +0100 |
---|---|---|
committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2015-09-24 03:06:07 +0100 |
commit | 3cf494c3896f903d9e0179c12897ffb6c7cbf4d5 (patch) | |
tree | 3e36d5011da0b11277de4f416285bcb9c7880968 /libmysqlpp/Jamfile.jam | |
parent | Connector compatibility fix (diff) | |
download | libdbpp-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.jam | 9 |
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 ; + |