blob: 0fd6558616d1f2cf61630431e933c626b2b37693 (
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
34
|
# file : migrate/buildfile
# copyright : Copyright (c) 2014-2019 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}
include ../libbrep/
exe{brep-migrate}: {hxx ixx cxx}{* -migrate-options} \
{hxx ixx cxx}{ migrate-options} \
../libbrep/lib{brep} $libs
# Generated options parser.
#
if $cli.configured
{
cli.cxx{migrate-options}: cli{migrate}
cli.options += --std c++11 -I $src_root --include-with-brackets \
--include-prefix migrate --guard-prefix MIGRATE --generate-specifier \
--page-usage print_ --ansi-color --long-usage
# Include the generated cli files into the distribution and don't remove
# them when cleaning in src (so that clean results in a state identical to
# distributed).
#
cli.cxx{*}:
{
dist = true
clean = ($src_root != $out_root)
}
}
|