aboutsummaryrefslogtreecommitdiff
path: root/old-tests/cli/lib/libtest/test/buildfile
blob: a7667e6f8f36e43e7ac8fd93b8eb4bfc766e0299 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
using cli

lib{test}: cxx{utility} cli.cxx{test base} extra/cxx{test}
cli.cxx{test}: cli{test}
cli.cxx{base}: cli{base}

cli.options += -I $src_root --include-with-brackets

extra/:
{
  cxx{test} hxx{test}: cli{test}
  cli.options += --include-prefix test/extra --guard-prefix TEST_EXTRA \
    --cli-namespace test::extra::cli
}

cxx.poptions += "-I$out_root" "-I$src_root"
lib{test}: cxx.export.poptions = "-I$out_root" "-I$src_root"

cli.options += --include-prefix test --guard-prefix TEST \
--cli-namespace test::cli