diff options
author | Dan Goodliffe <dan@randomdan.homeip.net> | 2015-09-25 20:15:50 +0100 |
---|---|---|
committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2015-09-25 20:15:50 +0100 |
commit | c883f62d87b7f6fa71bb64c060e25df8bf9d4210 (patch) | |
tree | 4652c8a52e2c02c2c4ead05f8c956450433150ad /libmysqlpp/Jamfile.jam | |
parent | MySQL mocking and tests from Project2 (diff) | |
download | libdbpp-mysql-c883f62d87b7f6fa71bb64c060e25df8bf9d4210.tar.bz2 libdbpp-mysql-c883f62d87b7f6fa71bb64c060e25df8bf9d4210.tar.xz libdbpp-mysql-c883f62d87b7f6fa71bb64c060e25df8bf9d4210.zip |
Install rules and use system dbpplibdbpp-mysql-0.9
Diffstat (limited to 'libmysqlpp/Jamfile.jam')
-rw-r--r-- | libmysqlpp/Jamfile.jam | 18 |
1 files changed, 13 insertions, 5 deletions
diff --git a/libmysqlpp/Jamfile.jam b/libmysqlpp/Jamfile.jam index 8d6d2f6..3776f3d 100644 --- a/libmysqlpp/Jamfile.jam +++ b/libmysqlpp/Jamfile.jam @@ -1,3 +1,4 @@ +import package ; alias glibmm : : : : <cflags>"`pkg-config --cflags glibmm-2.4`" <linkflags>"`pkg-config --libs glibmm-2.4`" @@ -5,26 +6,33 @@ alias glibmm : : : : lib mysql ; lib adhocutil : : : : <include>/usr/include/adhocutil ; +lib dbppcore : : : : <include>/usr/include/dbpp ; +lib boost_date_time ; +lib boost_system ; alias libmysql : : : : <cflags>"`mysql_config --include`" <linkflags>"`mysql_config --libs`" ; - + lib dbpp-mysql : [ glob *.cpp ] : - <library>glibmm + <library>glibmm <library>libmysql - <library>../libdbpp + <library>dbppcore <library>adhocutil + <library>boost_date_time + <library>boost_system <cflags>-fvisibility=hidden <variant>release:<cflags>-flto : : <include>. <cflags>"-I`mysql_config --include`" - <library>glibmm - <library>../libdbpp + <library>glibmm + <library>dbppcore ; build-project unittests ; +package.install install : <install-source-root>. : : dbpp-mysql : [ glob *.h ] ; + |