summaryrefslogtreecommitdiff
path: root/libmysqlclient/build/root.build
diff options
context:
space:
mode:
Diffstat (limited to 'libmysqlclient/build/root.build')
-rw-r--r--libmysqlclient/build/root.build23
1 files changed, 23 insertions, 0 deletions
diff --git a/libmysqlclient/build/root.build b/libmysqlclient/build/root.build
new file mode 100644
index 0000000..04449b6
--- /dev/null
+++ b/libmysqlclient/build/root.build
@@ -0,0 +1,23 @@
+# file : build/root.build
+# copyright : Copyright (c) 2016-2019 Code Synthesis Ltd
+# license : GPLv2 with Universal FOSS Exception; see accompanying LICENSE file
+
+using in
+
+using c
+
+h{*}: extension = h
+c{*}: extension = c
+
+cxx.std = latest
+
+using cxx
+
+hxx{*}: extension = h
+cxx{*}: extension = cc
+
+if ($c.class == 'msvc')
+{
+ cc.poptions += -D_CRT_SECURE_NO_WARNINGS -D_SCL_SECURE_NO_WARNINGS
+ cc.coptions += /wd4251 /wd4275 /wd4800
+}