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
|
# -*- mode: python -*-
Import('env')
env = env.Clone()
env.Library(
target='cst',
source=[
'bson_lexer.cpp',
'cst_pipeline_translation.cpp',
'c_node.cpp',
'c_node_validation.cpp',
'pipeline_parser_gen.cpp',
],
LIBDEPS=[
"$BUILD_DIR/mongo/base",
'$BUILD_DIR/mongo/db/pipeline/pipeline',
'$BUILD_DIR/mongo/db/query/datetime/date_time_support',
]
)
env.CppUnitTest(
target='cst_test',
source=[
'bson_lexer_test.cpp',
'cst_expression_test.cpp',
'cst_test.cpp',
],
LIBDEPS=[
'cst',
]
)
env.CppUnitTest(
target='cst_pipeline_translation_test',
source=[
'cst_pipeline_translation_test.cpp',
'cst_literals_test.cpp',
],
LIBDEPS=[
'cst',
'$BUILD_DIR/mongo/db/query/query_test_service_context',
]
)
|