diff options
author | Andy Schwerin <schwerin@10gen.com> | 2012-09-17 12:19:26 -0400 |
---|---|---|
committer | Andy Schwerin <schwerin@10gen.com> | 2012-09-25 15:57:08 -0400 |
commit | 635aed09b0de72588422f1b864cca3810979375c (patch) | |
tree | 110365fc2105146c248025ef06e95db70ef3721b /src/mongo/base/SConscript | |
parent | 1c9b2a7d236cce265db1b29a708959fe87ba56ca (diff) | |
download | mongo-635aed09b0de72588422f1b864cca3810979375c.tar.gz |
SERVER-5112 Introduce runGlobalInitializers(), macros and tools for global initializer declaration.
These utilities simplify adding global (process-wide) initializers that run at the beginning of
main().
Also, run the global initializers in the main() of unittests.
Diffstat (limited to 'src/mongo/base/SConscript')
-rw-r--r-- | src/mongo/base/SConscript | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mongo/base/SConscript b/src/mongo/base/SConscript index 0c7d29abe9b..104d1a555cb 100644 --- a/src/mongo/base/SConscript +++ b/src/mongo/base/SConscript @@ -3,6 +3,9 @@ Import("env") env.StaticLibrary('base', ['configuration_variable_manager.cpp', + 'global_initializer.cpp', + 'global_initializer_registerer.cpp', + 'init.cpp', 'initializer.cpp', 'initializer_context.cpp', 'initializer_dependency_graph.cpp', |