summaryrefslogtreecommitdiff
path: root/src/mongo/bson/mutable/SConscript
blob: 9546d260f5f95e268a179db134424464e4f6c6e5 (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
# -*- mode: python; -*-

Import('env')

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

env.Library(
    target='mutable_bson_test_utils',
    source=[
        'mutable_bson_test_utils.cpp',
    ],
    LIBDEPS=[
        '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',
    ],
)