aboutsummaryrefslogtreecommitdiff
path: root/brep/buildfile
blob: 5340d2285340fc48d52efb8c8c4133f5d55290e4 (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
# file      : brep/buildfile
# copyright : Copyright (c) 2014-2015 Code Synthesis Ltd
# license   : MIT; see accompanying LICENSE file

using cli

.: libso{brep brep-apache}

import libs += libbpkg%lib{bpkg}
import libs += libodb-pgsql%lib{odb-pgsql}
import libs += libodb%lib{odb}

brep = cxx{package package-odb}
libso{brep}: $brep $libs
libso{brep}: cxx.export.poptions = -I$out_root -I$src_root

brep = cxx{diagnostics module services search view shared-database} \
       cli.cxx{options}
web = ../web/apache/cxx{request service}
libso{brep-apache}: $brep $web libso{brep} $libs

cli.options += -I $src_root --include-with-brackets --include-prefix brep \
--guard-prefix BREP --generate-file-scanner --suppress-usage

cli.cxx{options}: cli{options}