News for hackers. Stuff that matters.
Re:Cargo-style dependency management for C, C++ and other la... by skywal_l on Wednesday October 21, 2020 @07:05AM (#24846593)
Didn't know tup. Seems to be Makefile done right. (at least at first glance...)
Re:Cargo-style dependency management for C, C++ and other la... by int_19h on Wednesday October 21, 2020 @08:59AM (#24847375)
Take a look at DJB Redo, as well. There are many implementations, so here's a well-documented one: https://redo.readthedocs.io/en/latest/
Re:Cargo-style dependency management for C, C++ and other la... by dkersten on Wednesday October 21, 2020 @10:25AM (#24848167)
I haven't used it for anything particularly complex and I haven't used it with anything that has a ton of non-header-only third party libraries, so I don't know how it holds up in those cases, but for my smaller projects, its been really pleasant. The tupfiles are easy to write and the tool is super fast. It took me from dreading starting a new project with cmake to enjoying using C++ again.

I used to just use QtCreator and let it setup the build system. I could just go back to that, but for now I'm very happy with tup.