4 ms·
So, it's actually the first time in history of Conan where I personally think it became a useful tool and am using it professionally in several projects for my
by W0lf 7y ago
So, it's actually the first time in history of Conan where I personally think it became a useful tool and am using it professionally in several projects for my clients. It still has a lot of quirks though and one can easily get into trouble when setting up dependencies across different platforms.
I've looked more closely into Conan several times in the past and also added bug reports here and there, but it finally became somewhat usable (for me and my projects at least). Also, I'm quite picky when it comes to CMake integration, because I don't want my package manager to interfere with my build system configuration. Conan finally reached a state where one can simply check in a conanfile.txt in the repository and use the `cmake_paths` generator to fetch all dependencies before calling CMake to generate a project for you.
I also decided to setup my own Artifactory server as the official bintray comes with a max. size limitation of 500 MB per artifact which is way too low, considering that Qt5 with Core, Gui and Widgets statically built on Windows (release build) easily outgrows this limit.
However, once you have your infrastructure setup, it's easy to add build flavors such as sanitizers etc. for a given set of thirdparty libraries.
- dgellow 7y agoDo you have examples of project configuration using cmake and conan the way you use it? Maybe an open source project, or a short description of the setup? I'm just curious.
- tbenst 7y agoCurious why you use Conan vs Nix? Reproducible builds and dependency management is the Nix raison d'être.
- lenkite 7y agoNix only runs on Unix operating systems. Conan runs on windows also.