aboutsummaryrefslogtreecommitdiff
path: root/build
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2016-08-08 08:41:01 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2016-08-08 08:41:01 +0200
commit1135f674150e9486c91bc16e9fb09aa755591e25 (patch)
treecc8798f75c87c97da6b317b337cfb5fe89242022 /build
parent2dbfb23e8ada74da6d54e5398cd3071de6b10423 (diff)
Initial build2 build support
Diffstat (limited to 'build')
-rw-r--r--build/bootstrap.build18
-rw-r--r--build/export.build10
-rw-r--r--build/root.build14
3 files changed, 42 insertions, 0 deletions
diff --git a/build/bootstrap.build b/build/bootstrap.build
new file mode 100644
index 0000000..1d3ca56
--- /dev/null
+++ b/build/bootstrap.build
@@ -0,0 +1,18 @@
+# file : build/bootstrap.build
+# copyright : Copyright (c) 2009-2015 Code Synthesis Tools CC
+# license : GNU GPL v2; see accompanying LICENSE file
+
+project = libodb-sqlite
+version = 2.5.0-a8
+revision = 0
+
+using build@0.4.0-a1
+using config
+using dist
+using test
+using install
+
+dist.package = $project-$version
+
+if ($revision != 0)
+ dist.package += +$revision
diff --git a/build/export.build b/build/export.build
new file mode 100644
index 0000000..18bb2b2
--- /dev/null
+++ b/build/export.build
@@ -0,0 +1,10 @@
+# file : build/export.build
+# copyright : Copyright (c) 2009-2015 Code Synthesis Tools CC
+# license : GNU GPL v2; see accompanying LICENSE file
+
+$out_root/:
+{
+ include odb/sqlite/
+}
+
+export $out_root/odb/sqlite/lib{odb-sqlite}
diff --git a/build/root.build b/build/root.build
new file mode 100644
index 0000000..44b2195
--- /dev/null
+++ b/build/root.build
@@ -0,0 +1,14 @@
+# file : build/root.build
+# copyright : Copyright (c) 2009-2015 Code Synthesis Tools CC
+# license : GNU GPL v2; see accompanying LICENSE file
+
+using cxx
+
+hxx{*}: extension = hxx
+ixx{*}: extension = ixx
+txx{*}: extension = txx
+cxx{*}: extension = cxx
+
+cxx.std = 11
+
+tests/: install = false # Don't install tests.