1# file      : tests/build/root.build
2# license   : MIT; see accompanying LICENSE file
3
4cxx.std = latest
5
6using cxx
7
8hxx{*}: extension = hxx
9cxx{*}: extension = cxx
10
11if ($cxx.target.system == 'win32-msvc')
12  cxx.poptions += -D_CRT_SECURE_NO_WARNINGS -D_SCL_SECURE_NO_WARNINGS
13
14if ($cxx.class == 'msvc')
15  cxx.coptions += /wd4251 /wd4275 /wd4800
16
17# Every exe{} in this subproject is by default a test.
18#
19exe{*}: test = true
20
21# Specify the test target for cross-testing.
22#
23test.target = $cxx.target
24