summaryrefslogtreecommitdiff
path: root/src/third_party/s2/util/coding/SConscript
blob: 8dc773bf5b6a6c4825ac36fd59779b667553c778 (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
# -*- mode: python -*-

Import("env")

env = env.Clone()

env.Append(CCFLAGS=['-Isrc/third_party/s2'])
env.Append(CCFLAGS=['-Isrc/third_party/gflags-2.0/src'])

if env.TargetOSIs('windows'):
    # C4996: 'memccpy': The POSIX name for this item is deprecated. Instead, use the ISO C and C++
    # conformant name: _memccpy. See online help for details
    env.Append(CCFLAGS=['/wd4996'])

env.Library(
    "coding",
    [ 
	"coder.cc",
	"varint.cc",
    ],
    LIBDEPS=[
        '$BUILD_DIR/mongo/base',
        '$BUILD_DIR/third_party/s2/base/base_s2',
    ])