diff options
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 ; + |