aboutsummaryrefslogtreecommitdiff
path: root/tests/cli/lib/libtest/test/buildfile
diff options
context:
space:
mode:
Diffstat (limited to 'tests/cli/lib/libtest/test/buildfile')
-rw-r--r--tests/cli/lib/libtest/test/buildfile13
1 files changed, 13 insertions, 0 deletions
diff --git a/tests/cli/lib/libtest/test/buildfile b/tests/cli/lib/libtest/test/buildfile
new file mode 100644
index 0000000..5325f14
--- /dev/null
+++ b/tests/cli/lib/libtest/test/buildfile
@@ -0,0 +1,13 @@
+lib{test}: cxx{utility} cxx{test} extra/cxx{test}
+cxx{test} hxx{test}: cli{test}
+
+extra/:
+{
+ cxx{test} hxx{test}: cli{test}
+ cli.options += --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