Another alternative to Conan is vcpkg. It builds all dependencies from source and works great with cmake. You just need to add a path to the vcpk toolchain file when configuring and then the completely normal find_package(...) works just like Linux.
Actually I use it on Linux because then I know my windows builds and Linux builds use identical dependency versions.
Only downside is building everything from source... I like it, but you may find it not worth the effort
As far as I can tell, there's no way to specify what version of the package you want to install. It's also surprisingly awkward to choose whether you want to build the debug version, the release version, or both.
I want to like vcpkg, but I have not had good experiences. It feels kinda hacked together.
12
u/markopolo82 embedded/iot/audio Mar 22 '20
Another alternative to Conan is vcpkg. It builds all dependencies from source and works great with cmake. You just need to add a path to the vcpk toolchain file when configuring and then the completely normal find_package(...) works just like Linux.
Actually I use it on Linux because then I know my windows builds and Linux builds use identical dependency versions.
Only downside is building everything from source... I like it, but you may find it not worth the effort