aboutsummaryrefslogtreecommitdiff
path: root/build
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2016-08-14 12:21:54 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2016-08-14 12:21:54 +0200
commitffb9168aa83b8d61dd4af2d9516b14eb657ce08a (patch)
tree24692eb6816a5b7d6b27d3a83dc300692e6c5ef9 /build
parent2ce1b689c40e1fed002c960f1fbbee5058ed1627 (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.build9
3 files changed, 37 insertions, 0 deletions
diff --git a/build/bootstrap.build b/build/bootstrap.build
new file mode 100644
index 0000000..79cffda
--- /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-pgsql
+version = 2.5.0-a9
+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..b415d43
--- /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/pgsql/
+}
+
+export $out_root/odb/pgsql/lib{odb-pgsql}
diff --git a/build/root.build b/build/root.build
new file mode 100644
index 0000000..174f292
--- /dev/null
+++ b/build/root.build
@@ -0,0 +1,9 @@
+# file : build/root.build
+# copyright : Copyright (c) 2009-2015 Code Synthesis Tools CC
+# license : GNU GPL v2; see accompanying LICENSE file
+
+using cxx
+
+cxx.std = 11
+
+tests/: install = false # Don't install tests.