summaryrefslogtreecommitdiff
path: root/src/mongo/db/exec/SConscript
diff options
context:
space:
mode:
authorApollon Oikonomopoulos <apoikos@debian.org>2016-01-14 00:10:06 +0200
committerApollon Oikonomopoulos <apollon@skroutz.gr>2016-01-14 00:10:06 +0200
commit374e1947abcd3e127a2a613aff73ecffdb9199ea (patch)
treed83973c3c9802450acd5b5e86fe0d4e8e60a3a1b /src/mongo/db/exec/SConscript
parent65585c90b12d6523bea75a2aebaae2a2fdf9e641 (diff)
Imported Upstream version 2.6.11upstream/2.6.11
Diffstat (limited to 'src/mongo/db/exec/SConscript')
-rw-r--r--src/mongo/db/exec/SConscript97
1 files changed, 97 insertions, 0 deletions
diff --git a/src/mongo/db/exec/SConscript b/src/mongo/db/exec/SConscript
new file mode 100644
index 00000000000..d1e3015ae85
--- /dev/null
+++ b/src/mongo/db/exec/SConscript
@@ -0,0 +1,97 @@
+# -*- mode: python -*-
+
+Import("env")
+
+env.Library(
+ target = "working_set",
+ source = [
+ "working_set.cpp",
+ ],
+ LIBDEPS = [
+ "$BUILD_DIR/mongo/bson",
+ ],
+)
+
+env.CppUnitTest(
+ target = "working_set_test",
+ source = [
+ "working_set_test.cpp"
+ ],
+ LIBDEPS = [
+ "working_set",
+ ],
+)
+
+env.Library(
+ target = "mock_stage",
+ source = [
+ "mock_stage.cpp",
+ ],
+ LIBDEPS = [
+ "working_set",
+ ],
+)
+
+env.Library(
+ target = 'exec',
+ source = [
+ "2d.cpp",
+ "2dcommon.cpp",
+ "2dnear.cpp",
+ "and_hash.cpp",
+ "and_sorted.cpp",
+ "collection_scan.cpp",
+ "count.cpp",
+ "distinct_scan.cpp",
+ "fetch.cpp",
+ "index_scan.cpp",
+ "keep_mutations.cpp",
+ "limit.cpp",
+ "merge_sort.cpp",
+ "oplogstart.cpp",
+ "or.cpp",
+ "projection.cpp",
+ "projection_exec.cpp",
+ "s2near.cpp",
+ "shard_filter.cpp",
+ "skip.cpp",
+ "sort.cpp",
+ "stagedebug_cmd.cpp",
+ "text.cpp",
+ "working_set_common.cpp",
+ ],
+ LIBDEPS = [
+ "$BUILD_DIR/mongo/bson",
+ ],
+)
+
+env.CppUnitTest(
+ target = "sort_test",
+ source = [
+ "sort_test.cpp",
+ ],
+ LIBDEPS = [
+ "exec",
+ "mock_stage",
+ "$BUILD_DIR/mongo/serveronly",
+ "$BUILD_DIR/mongo/coreserver",
+ "$BUILD_DIR/mongo/coredb",
+ "$BUILD_DIR/mongo/mocklib",
+ ],
+ NO_CRUTCH = True,
+)
+
+env.CppUnitTest(
+ target = "projection_exec_test",
+ source = [
+ "projection_exec_test.cpp",
+ ],
+ LIBDEPS = [
+ "exec",
+ "mock_stage",
+ "$BUILD_DIR/mongo/serveronly",
+ "$BUILD_DIR/mongo/coreserver",
+ "$BUILD_DIR/mongo/coredb",
+ ],
+ NO_CRUTCH = True,
+)