From 70613e9be046c9cddd2486505a44d3a0324d6d95 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Mon, 13 Jul 2015 12:20:27 +0200 Subject: Implement subproject import --- tests/amalgam/libtest/build/bootstrap.build | 2 ++ tests/amalgam/libtest/build/export.build | 6 ++++++ tests/amalgam/libtest/buildfile | 6 ++++++ tests/amalgam/libtest/test.cxx | 4 ++++ 4 files changed, 18 insertions(+) create mode 100644 tests/amalgam/libtest/build/bootstrap.build create mode 100644 tests/amalgam/libtest/build/export.build create mode 100644 tests/amalgam/libtest/buildfile create mode 100644 tests/amalgam/libtest/test.cxx (limited to 'tests/amalgam/libtest') diff --git a/tests/amalgam/libtest/build/bootstrap.build b/tests/amalgam/libtest/build/bootstrap.build new file mode 100644 index 0000000..025e510 --- /dev/null +++ b/tests/amalgam/libtest/build/bootstrap.build @@ -0,0 +1,2 @@ +project = amalgam-libtest +using config diff --git a/tests/amalgam/libtest/build/export.build b/tests/amalgam/libtest/build/export.build new file mode 100644 index 0000000..b95e409 --- /dev/null +++ b/tests/amalgam/libtest/build/export.build @@ -0,0 +1,6 @@ +$out_root/: +{ + include buildfile +} + +export $out_root/lib{test} diff --git a/tests/amalgam/libtest/buildfile b/tests/amalgam/libtest/buildfile new file mode 100644 index 0000000..04c44da --- /dev/null +++ b/tests/amalgam/libtest/buildfile @@ -0,0 +1,6 @@ +using cxx + +hxx.ext = hxx +cxx.ext = cxx + +lib{test}: cxx{test} diff --git a/tests/amalgam/libtest/test.cxx b/tests/amalgam/libtest/test.cxx new file mode 100644 index 0000000..34a033a --- /dev/null +++ b/tests/amalgam/libtest/test.cxx @@ -0,0 +1,4 @@ +void +f () +{ +} -- cgit v1.1