commit | dc9a191edc5cb64d4fc50ace41f7d976b0b8ab02 | [log] [tgz] |
---|---|---|
author | Marco Poletti <poletti.marco@gmail.com> | Sun Mar 19 15:26:04 2017 +0000 |
committer | Marco Poletti <poletti.marco@gmail.com> | Sun Mar 19 15:26:04 2017 +0000 |
tree | 56b8437539ed328b9db6d9dc25dc5178796c384b | |
parent | 2481eed155428992f0c83dadf5a51940dfb0f2d3 [diff] |
Add support for building Fruit as a dynamic library (dll) with MSVC. This uses WINDOWS_EXPORT_ALL_SYMBOLS, which exports more than the strictly needed set of symbols; however it's much less intrusive than the alternative (annotating all public symbols).
Fruit is a dependency injection framework for C++, loosely inspired by the Guice framework for Java. It uses C++ metaprogramming together with some new C++11 features to detect most injection problems at compile-time. It allows to split the implementation code in "components" (aka modules) that can be assembled to form other components. From a component with no requirements it's then possible to create an injector, that provides an instance of the interfaces exposed by the component.
See the wiki for more information, including installation instructions, tutorials and reference documentation.