Needy is tool that aims to make C++ library dependencies as magical as possible. Dependencies are declared in a file known as the "needs file", usually by simply adding a source URI. Then Needy will download and build those dependencies for you.
For example, by creating a needs.yaml file in your project that looks like this:
libraries:
catch:
repository: git@github.com:philsquared/Catch.git
commit: v1.3.0
You can then use a simple command invocation (needy satisfy
) to download and build Catch for your target platforms. Once integrated with your build system, adding, updating, or modifying dependencies in any way becomes a trivial matter.
Needy is extremely capable, so be sure to check out the examples directory or the documentation to see some more things you can do.