summaryrefslogtreecommitdiff
path: root/src/SConscript
diff options
context:
space:
mode:
authorAndy Schwerin <schwerin@10gen.com>2012-10-18 16:07:39 -0400
committerAndy Schwerin <schwerin@10gen.com>2012-10-23 16:35:42 -0400
commit2716c5467a5c171d6af5cfcbda5e63508e48f6ef (patch)
tree88b1e4ef338b20687f5db852c98f03bf153a259e /src/SConscript
parent435ad1672d1dc7fef8a4d3b3ba8441081f359ee9 (diff)
downloadmongo-2716c5467a5c171d6af5cfcbda5e63508e48f6ef.tar.gz
SERVER-7118 Change "mongo modules" to use SConscript files for modules.
Also allows you to have modules in mongos and the shell, as well as mongod. Requires changes to the modules, to have SConscript files, and define libraries. Allows modules to have unit tests, interesting linking rules, dependencies into mongo, etc. Still may need to do some work on includes. The mongo-enterprise module has very simple include requirements, today.
Diffstat (limited to 'src/SConscript')
-rw-r--r--src/SConscript7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/SConscript b/src/SConscript
index c4e96a5fddc..4245c9a1c5e 100644
--- a/src/SConscript
+++ b/src/SConscript
@@ -3,5 +3,8 @@
# This is the principle SConscript file, invoked by the SConstruct. Its job is
# to delegate to any and all per-module SConscript files.
-SConscript( [ 'mongo/SConscript',
- 'third_party/SConscript' ] )
+Import('module_sconscripts')
+
+SConscript(['mongo/SConscript',
+ 'third_party/SConscript'] +
+ module_sconscripts)