From af50e2603fd0f877d0f96da1562b0deda0590b70 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Mon, 18 Feb 2019 13:01:12 +0200 Subject: Add support for building with build2 --- build/root.build | 18 ++++++++++++++++++ 1 file changed, 18 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..697f33c --- /dev/null +++ b/build/root.build @@ -0,0 +1,18 @@ +# file : build/root.build +# copyright : Copyright (c) 2009-2019 Code Synthesis Tools CC +# license : GNU GPL v2; see accompanying LICENSE file + +cxx.std = 11 + +using cxx + +hxx{*}: extension = hxx +ixx{*}: extension = ixx +txx{*}: extension = txx +cxx{*}: extension = cxx + +if ($cxx.class == 'msvc') +{ + cxx.poptions += -D_CRT_SECURE_NO_WARNINGS -D_SCL_SECURE_NO_WARNINGS + cxx.coptions += /wd4251 /wd4275 /wd4800 +} -- cgit v1.1