summaryrefslogtreecommitdiff
path: root/mysql-client/build/root.build
diff options
context:
space:
mode:
Diffstat (limited to 'mysql-client/build/root.build')
-rw-r--r--mysql-client/build/root.build25
1 files changed, 25 insertions, 0 deletions
diff --git a/mysql-client/build/root.build b/mysql-client/build/root.build
new file mode 100644
index 0000000..077c13f
--- /dev/null
+++ b/mysql-client/build/root.build
@@ -0,0 +1,25 @@
+# file : build/root.build
+# license : GPLv2 with Universal FOSS Exception; see accompanying LICENSE file
+
+using in
+
+using c
+
+h{*}: extension = h
+c{*}: extension = c
+
+# Note that the implementation uses C++14 internally, with some used
+# constructs being deprecated/removed from the later versions of the standard.
+#
+cxx.std = 14
+
+using cxx
+
+hxx{*}: extension = h
+cxx{*}: extension = cc
+
+if ($c.target.system == 'win32-msvc')
+ cc.poptions += -D_CRT_SECURE_NO_WARNINGS -D_SCL_SECURE_NO_WARNINGS
+
+if ($c.class == 'msvc')
+ cc.coptions += /wd4251 /wd4275 /wd4800