Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
ajmmertens
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
8 ms
·
31.
▲
by
ajmmertens
8y ago
Yes, that is correct. Bake can find dependencies regardless of where the dependency's source code is. You also don't need to first install your project before it can be used as a dependency, building is enough. A big difference wi
32.
▲
by
ajmmertens
8y ago
No need, bake can link with your projects like it can link with any other C/C++ library: https://github.com/SanderMertens/bake#can-i-link-with-non-ba...
33.
▲
by
ajmmertens
8y ago
"How to make a package manager cry" - lol. In all seriousness, the links you provided outline valid (and annoying) issues with package managers, but none of them apply to bake. First of all, bake does not rely on an online package
34.
▲
by
ajmmertens
8y ago
Funny, when I posted bake on reddit, I got the exact same reply: https://www.reddit.com/r/cpp/comments/a8d7ny/meet_bake_a_new... The comic suggests that bake tries to replace all other build systems with
35.
▲
by
ajmmertens
8y ago
Thanks for the comprehensive list of alternatives, there's some that I wasn't even aware of ;-) A few observations: - Bake has been used across platforms for large projects and its declarative approach held up pretty well. Note th
36.
▲
by
ajmmertens
8y ago
Yes, other formats were considered. There is some irony here, as I've been a vocal critic of JSON in the past ( https://www.linkedin.com/pulse/may-time-stop-using-json-sand... ). I ultimately went with JSON because
37.
▲
by
ajmmertens
8y ago
Funny you mentioned that- before it was forked bake had doxygen & test framework integration. I'm working on porting the test/doxygen drivers as we speak.
38.
▲
by
ajmmertens
8y ago
Thanks for bringing that up, I agree that the example is quite trivial, though I think it's at least a fair comparison when it comes to general complexity of two simple projects. Regarding find_package; it does sound similar to bake&
39.
▲
by
ajmmertens
8y ago
Thanks for finding the formatting issue, fixed it! You don't need to specify all dependencies "the bake way". If you want to link with a non-bake C library (like pthread or dl), you can configure it like shown here: https:&#
40.
▲
Show HN: Bake – A modular build system and package manager for C/C++
(github.com)
132 points
by
ajmmertens
8y ago
|
70 comments