diff options
author | Karen Arutyunov <karen@codesynthesis.com> | 2024-01-24 16:53:38 +0300 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2024-01-24 16:53:38 +0300 |
commit | 26e36b3a9d7b49d46ecfa69b447482251acba8ac (patch) | |
tree | 5436b7857fae9aee50d018ea0eef35a529fc03e4 /libodb/build | |
parent | 0074faad1b27f3cd52a606c438e4f1375956d731 (diff) |
Turn libodb repository into package for muti-package repositorylibodb
Diffstat (limited to 'libodb/build')
-rw-r--r-- | libodb/build/.gitignore | 3 | ||||
-rw-r--r-- | libodb/build/bootstrap.build | 10 | ||||
-rw-r--r-- | libodb/build/export.build | 9 | ||||
-rw-r--r-- | libodb/build/root.build | 17 |
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 |