aboutsummaryrefslogtreecommitdiff
path: root/migrate/buildfile
blob: 2bdbe9ecab8ca06eaf511ce311ebb0bb4c14b5b8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# file      : migrate/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}

include ../brep/

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

cli.options += -I $src_root --include-with-brackets --include-prefix migrate \
--guard-prefix MIGRATE --generate-specifier --page-usage print_ --ansi-color \
--long-usage

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