summaryrefslogtreecommitdiff
path: root/libodb-qt/build/root.build
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2024-02-01 20:51:20 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2024-02-01 20:51:20 +0300
commit78c1908129fd940dbbc9da08f52657e26fe22e34 (patch)
tree33e5dbcaecb924e93160e6927e6c7dd863dd3ca9 /libodb-qt/build/root.build
parent158bd7a1dd011b1ec0d7e99b9d22439ddec3eadb (diff)
parent5f1cd97b9727fe10df79e1eb316ff493d9dfc2a9 (diff)
Merge branch 'libodb-qt' into multi-package
Diffstat (limited to 'libodb-qt/build/root.build')
-rw-r--r--libodb-qt/build/root.build17
1 files changed, 17 insertions, 0 deletions
diff --git a/libodb-qt/build/root.build b/libodb-qt/build/root.build
new file mode 100644
index 0000000..882047d
--- /dev/null
+++ b/libodb-qt/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