summaryrefslogtreecommitdiff
path: root/tests/build/root.build
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2016-01-19 13:32:30 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2016-01-19 13:32:30 +0200
commit627991f892f431988c6a683b1305aee5510920dd (patch)
treeabb7f8e670cce67b96d930c73f6d548b126429a6 /tests/build/root.build
Basic "Hello World" C++ library with build2
Diffstat (limited to 'tests/build/root.build')
-rw-r--r--tests/build/root.build10
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/build/root.build b/tests/build/root.build
new file mode 100644
index 0000000..672eda8
--- /dev/null
+++ b/tests/build/root.build
@@ -0,0 +1,10 @@
+using cxx
+
+hxx{*}: extension =
+cxx{*}: extension = cxx
+
+cxx.std = 11
+
+# Every exe{} in this subproject is by default a test.
+#
+test.exe = true