From 18568ff0ff3dce89d694b494c5dfc9a32e63c9e6 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Fri, 26 Jun 2015 17:25:10 +0200 Subject: Part two of dependency injection with auto-generation support --- tests/cli/lib/libtest/test/buildfile | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) (limited to 'tests/cli/lib/libtest/test/buildfile') diff --git a/tests/cli/lib/libtest/test/buildfile b/tests/cli/lib/libtest/test/buildfile index 5325f14..61841e7 100644 --- a/tests/cli/lib/libtest/test/buildfile +++ b/tests/cli/lib/libtest/test/buildfile @@ -1,13 +1,18 @@ -lib{test}: cxx{utility} cxx{test} extra/cxx{test} +lib{test}: cxx{utility} cxx{test base} extra/cxx{test} cxx{test} hxx{test}: cli{test} +cxx{base} hxx{base}: cli{base} + +cli.options += -I $src_root --include-with-brackets extra/: { cxx{test} hxx{test}: cli{test} - cli.options += --cli-namespace test::extra::cli + 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 += --cli-namespace test::cli +cli.options += --include-prefix test --guard-prefix TEST \ +--cli-namespace test::cli -- cgit v1.1