summaryrefslogtreecommitdiff
path: root/src/mongo/bson/mutable/SConscript
blob: ebac4bdf87e9935423eb701f1b252cbaf8f5ab13 (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
41
42
43
44
45
46
47
48
49
# -*- mode: python; -*-

Import('env')

env.Library(
    target='mutable_bson',
    source=[
        'document.cpp',
        'element.cpp',
    ],
    LIBDEPS=[
        '$BUILD_DIR/mongo/util/safe_num',
        '$BUILD_DIR/mongo/base',
    ],
)

env.Library(
    target='mutable_bson_test_utils',
    source=[
        'mutable_bson_test_utils.cpp',
    ],
    LIBDEPS=[
        '$BUILD_DIR/mongo/unittest/unittest',
        'mutable_bson',
    ],
)

env.CppUnitTest(
    target='mutable_bson_test',
    source=[
        'mutable_bson_test.cpp'
    ],
    LIBDEPS=[
        'mutable_bson',
        'mutable_bson_test_utils',
    ],
)

env.CppUnitTest(
    target='mutable_bson_algo_test',
    source=[
        'mutable_bson_algo_test.cpp',
    ],
    LIBDEPS=[
        'mutable_bson',
        'mutable_bson_test_utils',
    ],
)