summaryrefslogtreecommitdiff
path: root/libpqpp/Jamfile.jam
blob: 2b31d957120a2bb21bd77ae2ddeccd0e5b9a6328 (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
32
33
import package ;

lib pq ;
lib adhocutil : : : : <include>/usr/include/adhocutil ;
lib dbppcore : : : : <include>/usr/include/dbpp ;
lib boost_date_time ;
lib stdc++fs ;

alias libpq : : : :
	<cflags>"-I`pg_config --includedir`"
	<linkflags>"-L`pg_config --libdir`"
	<library>pq
	;

lib dbpp-postgresql :
	[ glob *.cpp ] :
	<library>..//glibmm
	<library>libpq
	<library>adhocutil
	<library>dbppcore
	<library>boost_date_time
	<library>stdc++fs
	: :
	<include>.
	<cflags>"-I`pg_config --includedir`"
	<library>..//glibmm
	<library>dbppcore
	;

build-project unittests ;

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