From 7f235e1d24ce525a2bd032cefa82d96ccfdc8a19 Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Thu, 26 Dec 2019 23:05:57 +0300 Subject: Add implementation --- libicuio/build/root.build | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 libicuio/build/root.build (limited to 'libicuio/build/root.build') diff --git a/libicuio/build/root.build b/libicuio/build/root.build new file mode 100644 index 0000000..aba4fb6 --- /dev/null +++ b/libicuio/build/root.build @@ -0,0 +1,19 @@ +# file : build/root.build +# copyright : Copyright (c) 2018-2019 Code Synthesis Ltd +# license : Unicode License; see accompanying LICENSE file + +# Note that upstream compiles with -std=c++11 but this ends up with the 'auto +# return without trailing return type' error for Clang targeting MSVC runtime. +# +cxx.std = latest + +using cxx + +hxx{*}: extension = h +cxx{*}: extension = cpp + +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 -- cgit v1.1