summaryrefslogtreecommitdiff
path: root/libmysqlclient/build/root.build
blob: 077c13f0a50d49be7e3f3235faab4772d2aeb1fa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# file      : build/root.build
# license   : GPLv2 with Universal FOSS Exception; see accompanying LICENSE file

using in

using c

h{*}: extension = h
c{*}: extension = c

# Note that the implementation uses C++14 internally, with some used
# constructs being deprecated/removed from the later versions of the standard.
#
cxx.std = 14

using cxx

hxx{*}: extension = h
cxx{*}: extension = cc

if ($c.target.system == 'win32-msvc')
  cc.poptions += -D_CRT_SECURE_NO_WARNINGS -D_SCL_SECURE_NO_WARNINGS

if ($c.class == 'msvc')
  cc.coptions += /wd4251 /wd4275 /wd4800