Don’t Repeat Yourself¶
If you already familiar with ExternalProject_Add and have wrote some super-build projects before you probably already aware that writing complete solution with toolchains, build types, build options, parallel jobs, forwarding of compiler flags and making it works correctly for all generators is not a trivial task.
Hunter store ExternalProject_Add recipes as a set of templates. Once
written formula (build scheme) can be reused by other projects without
copying of collection of super-build files (DRY principle).
When new package with new scheme introduced all you need to do is just update
SHA1/URL of HunterGate command.