commit | 78e1e53dd617b45e83d74a5261b5e5c06b7e7429 | [log] [tgz] |
---|---|---|
author | Marco Poletti <poletti.marco@gmail.com> | Sat Jun 11 16:17:47 2016 +0100 |
committer | Marco Poletti <poletti.marco@gmail.com> | Sat Jun 11 16:17:47 2016 +0100 |
tree | 404e626e5d1c86c9a89f221fa5bd04e62e20cb9d | |
parent | 205f9df928ec362cc9457b80f4b999168c28bbb3 [diff] |
Add an explicit "-lm" linker flag when building with Bazel, this seems to be needed now for some reason (and it's currently causing the build failure with Bazel in Travis CI).
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.