aboutsummaryrefslogtreecommitdiff
path: root/examples/build
diff options
context:
space:
mode:
Diffstat (limited to 'examples/build')
-rw-r--r--examples/build/.gitignore1
-rw-r--r--examples/build/bootstrap.build5
-rw-r--r--examples/build/root.build10
3 files changed, 16 insertions, 0 deletions
diff --git a/examples/build/.gitignore b/examples/build/.gitignore
new file mode 100644
index 0000000..225c27f
--- /dev/null
+++ b/examples/build/.gitignore
@@ -0,0 +1 @@
+config.build
diff --git a/examples/build/bootstrap.build b/examples/build/bootstrap.build
new file mode 100644
index 0000000..2c2de24
--- /dev/null
+++ b/examples/build/bootstrap.build
@@ -0,0 +1,5 @@
+project = # Unnamed subproject.
+
+using config
+using dist
+using test
diff --git a/examples/build/root.build b/examples/build/root.build
new file mode 100644
index 0000000..1f7c350
--- /dev/null
+++ b/examples/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