summaryrefslogtreecommitdiff
path: root/src/mongo/db/index/SConscript
blob: 2c47b60f6601d0ed8418f9db763f4ff3d16535bd (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
50
# -*- mode: python -*-

Import("env")

env.Library(
        target='index_descriptor',
        source=[
            'index_descriptor.cpp',
        ],
        LIBDEPS=[
        ],
)

env.Library(
        target='key_generator',
        source=[
            'btree_key_generator.cpp',
            'expression_keys_private.cpp',
        ],
        LIBDEPS=[
            '$BUILD_DIR/mongo/bson',
            '$BUILD_DIR/mongo/db/fts/base',
            '$BUILD_DIR/mongo/db/geo/geometry',
            '$BUILD_DIR/mongo/db/geo/geoparser',
            '$BUILD_DIR/mongo/db/index_names',
            '$BUILD_DIR/third_party/s2/s2',
        ],
)

env.Library(
        target='external_key_generator',
        source=[
            'external_key_generator.cpp',
        ],
        LIBDEPS=[
            'key_generator',
            '$BUILD_DIR/mongo/bson',
        ],
)

env.CppUnitTest(
        target='btree_key_generator_test',
        source=[
            'btree_key_generator_test.cpp',
        ],
        LIBDEPS=[
            'key_generator',
            '$BUILD_DIR/mongo/db/mongohasher',
        ],
)