summaryrefslogtreecommitdiff
path: root/libodbcpp/Jamfile.jam
blob: 573ec8629117a9cc3142035bd747e16929c202c4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
import package ;
alias glibmm : : : :
	<cflags>"`pkg-config --cflags glibmm-2.4`"
	<linkflags>"`pkg-config --libs glibmm-2.4`"
	;

lib odbc : : <name>odbc ;
lib adhocutil : : : : <include>/usr/include/adhocutil ;
lib dbppcore : : : : <include>/usr/include/dbpp ;
lib boost_date_time ;
lib boost_system ;

lib dbpp-odbc :
	[ glob *.cpp ] :
	<library>glibmm
	<library>odbc
	<library>adhocutil
	<library>dbppcore
	<library>boost_date_time
	<library>boost_system
	<cflags>-fvisibility=hidden
	: :
	<include>.
	<library>glibmm
	<library>dbppcore
	;

build-project unittests ;

package.install install : <install-source-root>. : : dbpp-odbc : [ glob *.h ] ;