From 193efb512ffbc2231ef5c48699d51fbae3f3f9f1 Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Sat, 10 Sep 2016 22:51:55 +0300 Subject: Move tests and examples to build2 as subprojects --- tests/build/.gitignore | 1 + tests/build/bootstrap.build | 5 +++++ tests/build/root.build | 10 ++++++++++ 3 files changed, 16 insertions(+) create mode 100644 tests/build/.gitignore create mode 100644 tests/build/bootstrap.build create mode 100644 tests/build/root.build (limited to 'tests/build') diff --git a/tests/build/.gitignore b/tests/build/.gitignore new file mode 100644 index 0000000..225c27f --- /dev/null +++ b/tests/build/.gitignore @@ -0,0 +1 @@ +config.build diff --git a/tests/build/bootstrap.build b/tests/build/bootstrap.build new file mode 100644 index 0000000..2c2de24 --- /dev/null +++ b/tests/build/bootstrap.build @@ -0,0 +1,5 @@ +project = # Unnamed subproject. + +using config +using dist +using test diff --git a/tests/build/root.build b/tests/build/root.build new file mode 100644 index 0000000..1f7c350 --- /dev/null +++ b/tests/build/root.build @@ -0,0 +1,10 @@ +cxx.std = 11 + +using cxx + +hxx{*}: extension = +cxx{*}: extension = cxx + +# Every exe{} in this subproject is by default a test. +# +exe{*}: test = true -- cgit v1.1