From bb67f32b2d92a5a7daea1d170ada978941948b66 Mon Sep 17 00:00:00 2001
From: Karen Arutyunov <karen@codesynthesis.com>
Date: Sat, 9 Jun 2018 18:17:47 +0300
Subject: Add support for build2 build

---
 tests/build/.gitignore      |  1 +
 tests/build/bootstrap.build |  9 +++++++++
 tests/build/root.build      | 18 ++++++++++++++++++
 3 files changed, 28 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..cc1f8f2
--- /dev/null
+++ b/tests/build/bootstrap.build
@@ -0,0 +1,9 @@
+# file      : tests/build/bootstrap.build
+# copyright : Copyright (c) 2009-2018 Code Synthesis Tools CC
+# license   : ODB NCUEL; see accompanying LICENSE file
+
+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..a55d412
--- /dev/null
+++ b/tests/build/root.build
@@ -0,0 +1,18 @@
+# file      : tests/build/root.build
+# copyright : Copyright (c) 2009-2018 Code Synthesis Tools CC
+# license   : ODB NCUEL; see accompanying LICENSE file
+
+cxx.std = 11
+
+using cxx
+
+hxx{*}: extension = hxx
+cxx{*}: extension = cxx
+
+# Every exe{} in this subproject is by default a test.
+#
+exe{*}: test = true
+
+# Specify the test target for cross-testing.
+#
+test.target = $cxx.target
-- 
cgit v1.1