aboutsummaryrefslogtreecommitdiff
path: root/build
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2015-06-11 18:36:04 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2015-06-11 18:36:04 +0200
commitfaf53e5fdda42a40959dda689532af6f030d9fa2 (patch)
tree029268e46d6bc607292e53c8d04b09fabd92266f /build
parent4224a2fc7a046d26a94faf8b848595bdc8f0cee3 (diff)
Add optional implementation
Diffstat (limited to 'build')
-rw-r--r--build/.gitignore1
-rw-r--r--build/bootstrap.build6
-rw-r--r--build/export.build6
-rw-r--r--build/root.build8
4 files changed, 21 insertions, 0 deletions
diff --git a/build/.gitignore b/build/.gitignore
new file mode 100644
index 0000000..225c27f
--- /dev/null
+++ b/build/.gitignore
@@ -0,0 +1 @@
+config.build
diff --git a/build/bootstrap.build b/build/bootstrap.build
new file mode 100644
index 0000000..4dd58c5
--- /dev/null
+++ b/build/bootstrap.build
@@ -0,0 +1,6 @@
+# file : build/bootstrap.build
+# copyright : Copyright (c) 2014-2015 Code Synthesis Ltd
+# license : MIT; see accompanying LICENSE file
+
+project = libbutl
+using config
diff --git a/build/export.build b/build/export.build
new file mode 100644
index 0000000..e887a6f
--- /dev/null
+++ b/build/export.build
@@ -0,0 +1,6 @@
+$out_root/:
+{
+ include butl/
+}
+
+export $out_root/butl/lib{butl}
diff --git a/build/root.build b/build/root.build
new file mode 100644
index 0000000..dc1c297
--- /dev/null
+++ b/build/root.build
@@ -0,0 +1,8 @@
+# file : build/root.build
+# copyright : Copyright (c) 2014-2015 Code Synthesis Ltd
+# license : MIT; see accompanying LICENSE file
+
+using cxx
+
+cxx.std = 14
+cxx.poptions += -I$src_root