From 23b1a0ab70f190dbbb33dabb18ec039c7d85d6b3 Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Sat, 11 Jan 2020 23:51:49 +0300 Subject: Add implementation --- libcurl/tests/build/root.build | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 libcurl/tests/build/root.build (limited to 'libcurl/tests/build/root.build') diff --git a/libcurl/tests/build/root.build b/libcurl/tests/build/root.build new file mode 100644 index 0000000..a5f8fbe --- /dev/null +++ b/libcurl/tests/build/root.build @@ -0,0 +1,22 @@ +# file : tests/build/root.build +# copyright : Copyright (c) 2016-2019 Code Synthesis Ltd +# license : cURL License; see accompanying COPYING file + +using c + +h{*}: extension = h +c{*}: extension = c + +if ($c.target.system == 'win32-msvc') + c.poptions += -D_CRT_SECURE_NO_WARNINGS -D_SCL_SECURE_NO_WARNINGS + +if ($c.class == 'msvc') + c.coptions += /wd4251 /wd4275 /wd4800 + +# Every exe{} in this subproject is by default a test. +# +exe{*}: test = true + +# Specify the test target for cross-testing. +# +test.target = $c.target -- cgit v1.1