Hacker News new | ask | show | jobs
by akhilcacharya 3696 days ago
Speaking of which, is there any good package management system for modern C/C++?
6 comments

Conan is the most promising one, they just released a new version:

http://blog.conan.io/2016/05/03/New-conan-release-0-9.html

Arne Mertz has a Vagrant box for people who want to experiment with a "4C" development environment (Clang, Cmake, Conan, Clion).

https://github.com/arnemertz/Xubuntu1604_DevBox

I've had biicode recommended to me (https://github.com/biicode/biicode), but I haven't tried it yet.

EDIT: Also worth noting that a common response I've heard to "I need a better manager for my dependencies" is "you have a system package manager for a reason."

What do they say when you reply "Windows"?
I think it goes without saying that those with that sort of response tend not to use Windows, and also often seem to assume that a perfectly in-order Linux/Unix install is the only way to build software.
And also that you're fine with creating a package for any dependency that doesn't have one.
Creating, maintaining, shepherding through distro processes, etc. All so you can then eventually build your own code.
Conan seems to have appeared recently but I haven't yet tried it myself. https://www.conan.io/
Even if it doesn't has too much support, I highly recommend fips: https://github.com/floooh/fips

I have been using it, adding some libs and even contributing some changes. You should really give it a try!

The Meson build system http://mesonbuild.com/ seems to have a package manager like dependency management system.
It's also very quick and easy to get projects up and running.

For *nix based platforms Meson is now my go to build manager for c++ projects.