summaryrefslogtreecommitdiff
path: root/src/mongo/bson/util/SConscript
blob: a14a4bbf4cee5f341c790b212a71e15bb147e5e6 (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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
# -*- mode: python; -*-

Import('env')

env = env.Clone()

env.Library(
    target='bson_extract',
    source=[
        'bson_extract.cpp',
    ],
    LIBDEPS=[
        '$BUILD_DIR/mongo/base',
    ],
)

env.Library(
    target='simple8b',
    source=[
        'simple8b.cpp',
    ],
    LIBDEPS=[
        '$BUILD_DIR/mongo/base',
    ],
)

env.CppUnitTest(
    target='bson_util_test',
    source=[
        'bson_check_test.cpp',
        'bson_extract_test.cpp',
        'builder_test.cpp',
        'simple8b_test.cpp'
    ],
    LIBDEPS=[
        '$BUILD_DIR/mongo/base',
        'bson_extract',
        'simple8b',
    ],
)