aboutsummaryrefslogtreecommitdiff
path: root/old-tests/cli/lib/libtest/test/buildfile
diff options
context:
space:
mode:
Diffstat (limited to 'old-tests/cli/lib/libtest/test/buildfile')
-rw-r--r--old-tests/cli/lib/libtest/test/buildfile20
1 files changed, 20 insertions, 0 deletions
diff --git a/old-tests/cli/lib/libtest/test/buildfile b/old-tests/cli/lib/libtest/test/buildfile
new file mode 100644
index 0000000..6b0d9bd
--- /dev/null
+++ b/old-tests/cli/lib/libtest/test/buildfile
@@ -0,0 +1,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