aboutsummaryrefslogtreecommitdiff
path: root/load/buildfile
blob: db5a5accdd675de71e7ae5930591d2b85cb9a462 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# file      : load/buildfile
# copyright : Copyright (c) 2014-2016 Code Synthesis Ltd
# license   : MIT; see accompanying LICENSE file

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

include ../brep/

exe{brep-load}:                    \
{            cxx}{ load          } \
{hxx ixx     cxx}{ load-options  } \
{hxx         cxx}{ types-parsers } \
../brep/lib{brep} $libs

cli.options += -I $src_root --include-with-brackets --include-prefix load \
--guard-prefix LOAD --generate-specifier --page-usage print_ --ansi-color \
--cxx-prologue "#include <load/types-parsers>" \
--long-usage

{hxx ixx cxx}{load-options}: cli{load}