1# file      : build/root.build
2# license   : MIT; see accompanying LICENSE file
3
4cxx.std = latest
5
6using cxx
7
8hxx{*}: extension = hxx
9cxx{*}: extension = cxx
10ixx{*}: extension = ixx
11txx{*}: extension = txx
12
13using c
14
15if ($cxx.target.system == 'win32-msvc')
16  cc.poptions += -D_CRT_SECURE_NO_WARNINGS -D_SCL_SECURE_NO_WARNINGS
17
18if ($cxx.class == 'msvc')
19  cc.coptions += /wd4251 /wd4275 /wd4800
20