summaryrefslogtreecommitdiff
path: root/libcmark-gfm-extensions/build/root.build
diff options
context:
space:
mode:
Diffstat (limited to 'libcmark-gfm-extensions/build/root.build')
-rw-r--r--libcmark-gfm-extensions/build/root.build20
1 files changed, 20 insertions, 0 deletions
diff --git a/libcmark-gfm-extensions/build/root.build b/libcmark-gfm-extensions/build/root.build
new file mode 100644
index 0000000..f1d0273
--- /dev/null
+++ b/libcmark-gfm-extensions/build/root.build
@@ -0,0 +1,20 @@
+# file : build/root.build
+# copyright : Copyright (c) 2018-2019 Code Synthesis Ltd
+# license : FreeBSD License; see accompanying COPYING file
+
+c.std = 99
+
+using c
+
+h{*}: extension = h
+c{*}: extension = c
+
+if ($c.class == 'msvc')
+{
+ cc.poptions += -D_CRT_SECURE_NO_WARNINGS -D_SCL_SECURE_NO_WARNINGS
+ cc.coptions += /wd4251 /wd4275 /wd4800
+}
+
+# The test target for cross-testing (running tests under Wine, etc).
+#
+test.target = $c.target