From 949a9f572341b6cd07690f0b78b1b1941d320055 Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Tue, 15 Dec 2020 22:23:46 +0300 Subject: Switch to build2 --- build/root.build | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 build/root.build (limited to 'build/root.build') diff --git a/build/root.build b/build/root.build new file mode 100644 index 0000000..374118a --- /dev/null +++ b/build/root.build @@ -0,0 +1,17 @@ +# file : build/root.build +# license : GNU GPL v2 + exceptions; see accompanying LICENSE file + +cxx.std = latest + +using cxx + +hxx{*}: extension = hxx +cxx{*}: extension = cxx +ixx{*}: extension = ixx +txx{*}: extension = txx + +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