ldionne/dyno

Please add Conan Repository support

jwaterloo opened this issue · 9 comments

Please add Conan Repository support and please upload to a conan repo

Dyno depends on Boost.CallableTraits, which does not have a Conan package yet. Bincrafters are working on it and they should have one soon, at which point I'll look into this again.

The Bincrafter's packages appear to be broken in the sense that they don't include the CMake config files necessary to use the libraries from CMake (i.e. HanaConfig.cmake and CallableTraitsConfig.cmake). I'll see if that can be fixed.

Also, regardless of the above issue, whether it's reasonable to support Conan will depend on the resolution of conan-io/conan#2463

What about this blog post [1] where Bincrafters list this as a highlight of the Boost 1.66 packages release:

"FindBoost.cmake : enables CMake files which refer to Boost::xyz to work without change"

To me it sounds like it should solve your issue, assuming it works and I'm interpreting it correctly. If it doesn't, maybe a question or a bug report for Bincrafters [2] should be filed.

[1] https://bincrafters.github.io/2018/02/12/Conan-Package-Boost-1-66-0/
[2] https://github.com/bincrafters/community/issues

FYI Conan 1.4 added support for non-intrusive integration with CMake - https://blog.conan.io/2018/05/30/New-conan-release-1-4.html

Support for this is planned -- one thing I need is for Boost.Hana and Boost.CallableTrait's Bincrafters packages to provide the CMake config files.

Have you filed a bug report? Alternatively you can try a non-modular Boost package from conan-center - https://bintray.com/conan-community/conan/boost%3Aconan. Note that it allows disabling compilation of unneeded libraries.

I have made a package available as
dyno/0.1@lawrencem/stable
Available from the remote
https://api.bintray.com/conan/lawrencem99/lm

This is my branch for adding the recipe: https://github.com/Lawrencemm/dyno/tree/conan