summaryrefslogtreecommitdiff
path: root/libodb/build
diff options
context:
space:
mode:
Diffstat (limited to 'libodb/build')
-rw-r--r--libodb/build/.gitignore3
-rw-r--r--libodb/build/bootstrap.build10
-rw-r--r--libodb/build/export.build9
-rw-r--r--libodb/build/root.build17
4 files changed, 39 insertions, 0 deletions
diff --git a/libodb/build/.gitignore b/libodb/build/.gitignore
new file mode 100644
index 0000000..4a730a3
--- /dev/null
+++ b/libodb/build/.gitignore
@@ -0,0 +1,3 @@
+config.build
+root/
+bootstrap/
diff --git a/libodb/build/bootstrap.build b/libodb/build/bootstrap.build
new file mode 100644
index 0000000..9c8d1a9
--- /dev/null
+++ b/libodb/build/bootstrap.build
@@ -0,0 +1,10 @@
+# file : build/bootstrap.build
+# license : GNU GPL v2; see accompanying LICENSE file
+
+project = libodb
+
+using version
+using config
+using dist
+using test
+using install
diff --git a/libodb/build/export.build b/libodb/build/export.build
new file mode 100644
index 0000000..56312c8
--- /dev/null
+++ b/libodb/build/export.build
@@ -0,0 +1,9 @@
+# file : build/export.build
+# license : GNU GPL v2; see accompanying LICENSE file
+
+$out_root/
+{
+ include odb/
+}
+
+export $out_root/odb/lib{odb}
diff --git a/libodb/build/root.build b/libodb/build/root.build
new file mode 100644
index 0000000..882047d
--- /dev/null
+++ b/libodb/build/root.build
@@ -0,0 +1,17 @@
+# file : build/root.build
+# license : GNU GPL v2; see accompanying LICENSE file
+
+cxx.std = latest
+
+using cxx
+
+hxx{*}: extension = hxx
+ixx{*}: extension = ixx
+txx{*}: extension = txx
+cxx{*}: extension = cxx
+
+if ($cxx.target.system == 'win32-msvc')
+ cxx.poptions += -D_CRT_SECURE_NO_WARNINGS -D_SCL_SECURE_NO_WARNINGS
+
+if ($cxx.class == 'msvc')
+ cxx.coptions += /wd4251 /wd4275 /wd4800