summaryrefslogtreecommitdiff
path: root/src/mongo/db/SConscript
blob: 2d3a4f657343910e9c8d1f4dfd6892c6a552c7ad (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# -*- mode: python -*-

Import("env")

#
# We'd like 'common' to have the abstractions that are shared by several components of the
# server. Ideally, many of the object in 'coredb' should be moved here when their dependencies
# get resolved.
#

env.StaticLibrary('common', ['field_ref.cpp'],
                  LIBDEPS=['$BUILD_DIR/mongo/bson',
                           '$BUILD_DIR/mongo/foundation'])

env.CppUnitTest('field_ref_test', ['field_ref_test.cpp'], LIBDEPS=['common'])