aboutsummaryrefslogtreecommitdiff
path: root/build/root.build
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2017-11-08 10:57:07 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2017-11-08 10:57:07 +0200
commit7bbb807fa7bb1b47bf019be4e7b111d1ae05b804 (patch)
treebc47074cd0815f7bdebb10ce3d34ba76f781afb8 /build/root.build
parent006bbc5748a8197d7874550cc9186545f1c55ad8 (diff)
Add support for build2 build
Diffstat (limited to 'build/root.build')
-rw-r--r--build/root.build18
1 files changed, 18 insertions, 0 deletions
diff --git a/build/root.build b/build/root.build
new file mode 100644
index 0000000..f57ba41
--- /dev/null
+++ b/build/root.build
@@ -0,0 +1,18 @@
+# file : build/root.build
+# copyright : Copyright (c) 2009-2017 Code Synthesis Tools CC
+# license : GNU GPL v3; see accompanying LICENSE file
+
+cxx.std = 11
+
+using cxx
+
+hxx{*}: extension = hxx
+ixx{*}: extension = ixx
+txx{*}: extension = txx
+cxx{*}: extension = cxx
+
+cxx.poptions =+ "-I$out_root" "-I$src_root"
+
+# Specify the test target for cross-testing.
+#
+test.target = $cxx.target