diff options
Diffstat (limited to 'tests/cli/lib/libtest/test')
-rw-r--r-- | tests/cli/lib/libtest/test/buildfile | 13 | ||||
-rw-r--r-- | tests/cli/lib/libtest/test/extra/test.cli | 11 | ||||
-rw-r--r-- | tests/cli/lib/libtest/test/test.cli | 8 | ||||
-rw-r--r-- | tests/cli/lib/libtest/test/utility.cpp | 6 |
4 files changed, 38 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 diff --git a/tests/cli/lib/libtest/test/extra/test.cli b/tests/cli/lib/libtest/test/extra/test.cli new file mode 100644 index 0000000..8408402 --- /dev/null +++ b/tests/cli/lib/libtest/test/extra/test.cli @@ -0,0 +1,11 @@ +namespace test +{ + namespace extra + { + class options + { + bool --help; + bool --version; + }; + } +} diff --git a/tests/cli/lib/libtest/test/test.cli b/tests/cli/lib/libtest/test/test.cli new file mode 100644 index 0000000..8bc51e8 --- /dev/null +++ b/tests/cli/lib/libtest/test/test.cli @@ -0,0 +1,8 @@ +namespace test +{ + class options + { + bool --help; + bool --version; + }; +} diff --git a/tests/cli/lib/libtest/test/utility.cpp b/tests/cli/lib/libtest/test/utility.cpp new file mode 100644 index 0000000..7c59218 --- /dev/null +++ b/tests/cli/lib/libtest/test/utility.cpp @@ -0,0 +1,6 @@ +#include <test/test> + +void +f () +{ +} |