blob: 77ac0452eb6840fa83716e7446c19ff083121707 (
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
|
alias glibmm : : : :
<cflags>"`pkg-config --cflags glibmm-2.4`"
<linkflags>"`pkg-config --libs glibmm-2.4`"
;
lib pq ;
alias libpq : : : :
<cflags>"-I`pg_config --includedir`"
<linkflags>"-L`pg_config --libdir`"
<library>pq
;
lib dbpp-postgresql :
[ glob *.cpp ] :
<library>glibmm
<library>libpq
<library>../libdbpp
<cflags>-fvisibility=hidden
<variant>release:<cflags>-flto
: :
<include>.
<cflags>"-I`pg_config --includedir`"
<library>glibmm
<library>../libdbpp
;
build-project unittests ;
|