Constructor. engine: the build engine that will actually construct the targets.
(self, engine, global_build_dir)
| 16 | """ |
| 17 | |
| 18 | def __init__ (self, engine, global_build_dir): |
| 19 | """ Constructor. |
| 20 | engine: the build engine that will actually construct the targets. |
| 21 | """ |
| 22 | from build.virtual_target import VirtualTargetRegistry |
| 23 | from build.targets import TargetRegistry |
| 24 | from build.project import ProjectRegistry |
| 25 | from build.scanner import ScannerRegistry |
| 26 | from build.errors import Errors |
| 27 | from b2.util.logger import NullLogger |
| 28 | from build import build_request, property_set, feature |
| 29 | |
| 30 | self.engine_ = engine |
| 31 | self.virtual_targets_ = VirtualTargetRegistry (self) |
| 32 | self.projects_ = ProjectRegistry (self, global_build_dir) |
| 33 | self.targets_ = TargetRegistry () |
| 34 | self.logger_ = NullLogger () |
| 35 | self.scanners_ = ScannerRegistry (self) |
| 36 | self.argv_ = bjam.variable("ARGV") |
| 37 | self.boost_build_path_ = bjam.variable("BOOST_BUILD_PATH") |
| 38 | self.errors_ = Errors() |
| 39 | self.command_line_free_features_ = property_set.empty() |
| 40 | |
| 41 | global the_manager |
| 42 | the_manager = self |
| 43 | |
| 44 | def scanners (self): |
| 45 | return self.scanners_ |
nothing calls this directly
no test coverage detected