summaryrefslogtreecommitdiff
path: root/libmysqlclient/build/root.build
blob: dbecc7fe05a05a138d08ffef6586b41de97ab2f5 (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.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