summaryrefslogtreecommitdiff
path: root/libmysqlclient/build/root.build
blob: 04449b644ba1cbacf82455d613cdd9d6fa37fb55 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# file      : build/root.build
# copyright : Copyright (c) 2016-2019 Code Synthesis Ltd
# license   : GPLv2 with Universal FOSS Exception; see accompanying LICENSE file

using in

using c

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

cxx.std = latest

using cxx

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

if ($c.class == 'msvc')
{
  cc.poptions += -D_CRT_SECURE_NO_WARNINGS -D_SCL_SECURE_NO_WARNINGS
  cc.coptions += /wd4251 /wd4275 /wd4800
}