HackerReposA FIELD GUIDE TO OPEN SOURCE
ProSponsor the shelf♧ 0
← Back to top all-time
SanderMertens
bake
C2018–2018
SanderMertens / bake

bake

Bake, A build system for building, testing and running C & C++ projects

3Distinct people
6Mentions
0Explicit recommenders
755GitHub stars
REPOSITORY AT A GLANCE

What to know before exploring

What it is

Bake, A build system for building, testing and running C & C++ projects

GitHub

Where it is used

No documented product use has been verified yet.

What people are saying

No recommendation phrase was found in the indexed comments.

No classified warning is attached to this page. Read the discussions before treating silence as approval.

Also in these discussions

No other repository is repeatedly linked in the same discussions.

This week on Hacker News

Nov 7–Nov 14 UTC · Direct repository links and separately labeled related project stories. Indexed through 11/14/2026, 3:56:07 PM UTC.

No direct repository links were found in the indexed HN discussions over the past seven days. Older discussions are available below.

Mentions over time

HN mentions by hour6 dated mentions

Observed mentions: 2018-12-30 06:22:31 UTC to 2018-12-30 16:39:27 UTC.

0122018-12-30 06:00:00 UTC to 2018-12-30 07:00:00 UTC (exclusive): 1 mentions; 1 submissions, 0 commentsDec 30, 06:002018-12-30 07:00:00 UTC to 2018-12-30 08:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2018-12-30 08:00:00 UTC to 2018-12-30 09:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2018-12-30 09:00:00 UTC to 2018-12-30 10:00:00 UTC (exclusive): 1 mentions; 0 submissions, 1 comments2018-12-30 10:00:00 UTC to 2018-12-30 11:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2018-12-30 11:00:00 UTC to 2018-12-30 12:00:00 UTC (exclusive): 1 mentions; 0 submissions, 1 commentsDec 30, 11:002018-12-30 12:00:00 UTC to 2018-12-30 13:00:00 UTC (exclusive): 1 mentions; 0 submissions, 1 comments2018-12-30 13:00:00 UTC to 2018-12-30 14:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2018-12-30 14:00:00 UTC to 2018-12-30 15:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2018-12-30 15:00:00 UTC to 2018-12-30 16:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2018-12-30 16:00:00 UTC to 2018-12-30 17:00:00 UTC (exclusive): 2 mentions; 0 submissions, 2 commentsDec 30, 16:00

Counts come from the repository’s dated source evidence. Index cutoff: 2026-11-02 08:16:59 UTC.

View mention counts and date ranges
UTC ranges include their start and exclude their end. Select a period to filter the source evidence.
PeriodStart (UTC)End (exclusive, UTC)MentionsSubmissionsComments
Dec 30, 06:002018-12-30 06:00:00 UTC2018-12-30 07:00:00 UTC110
Dec 30, 07:002018-12-30 07:00:00 UTC2018-12-30 08:00:00 UTC000
Dec 30, 08:002018-12-30 08:00:00 UTC2018-12-30 09:00:00 UTC000
Dec 30, 09:002018-12-30 09:00:00 UTC2018-12-30 10:00:00 UTC101
Dec 30, 10:002018-12-30 10:00:00 UTC2018-12-30 11:00:00 UTC000
Dec 30, 11:002018-12-30 11:00:00 UTC2018-12-30 12:00:00 UTC101
Dec 30, 12:002018-12-30 12:00:00 UTC2018-12-30 13:00:00 UTC101
Dec 30, 13:002018-12-30 13:00:00 UTC2018-12-30 14:00:00 UTC000
Dec 30, 14:002018-12-30 14:00:00 UTC2018-12-30 15:00:00 UTC000
Dec 30, 15:002018-12-30 15:00:00 UTC2018-12-30 16:00:00 UTC000
Dec 30, 16:002018-12-30 16:00:00 UTC2018-12-30 17:00:00 UTC202

What Hacker News says

6 sources
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 that being declarative does not mean a configuration cannot contain conditional attributes (which bake supports). You need conditionals for things to work properly on different platforms, like documented here: https://github.com/SanderMertens/bake#can-i-link-with-non-ba... - I share the frustration, but I do not share your conclusion. Bake takes a refreshing approach to package management in that it doesn't try to do too much, which is perhaps what turned you off in other projects. It doesn't even compete with package managers like brew or vcpkg (which is not a build system, you might want to correct that). I would
Read the rest
go into more detail, but then again I've already done so in a few comments, and the README is pretty comprehensive in explaining how it works. - I did not invent my own syntax, the configuration is written plain JSON. Whether this was a good or bad decision we'll have to see, the jury is still out on that. NPM seems to do alright though. So far, the people that have actually used bake have been unanimously positive. I can confidently state that the learning curve of bake is much lower than a tool like CMake or premake (which I like), let alone make or autotools. Based on the feedback of Bake's users I decided to spin off the project, as I figured others could benefit from it too. So yes, it is yet another tool, but IMHO there's little harm in that.
In Show HN: Bake – A modular build system and package manager for C/C++
The comparison to CMake isn't apt: https://github.com/SanderMertens/bake/blob/master/README.md#... CMake projects allow proper recursive inclusion, so this would be sufficient to include 'bar' and link against it: add_subdirectory(bar) target_link_libraries(Foo bar) ...this only assumes that somewhere in the 'bar' directory, 'add_library(bar .....)' is called. Alternately, one can (and often does) use a 'find_package(bar)' call instead of 'add_subdirectory' to pull in a library installed on the system somewhere. The main difference seems to be that bake is configured with a particular json schema while CMake is configured with scripts written in the CMake language. I'm skeptical that the json approach stays as same as advertised once large and distributed organizations use the tool seriously. At scale, I expect a bake json to res
Read the rest
emble a maven xml, albeit in json. I'll also note that bake doesn't seem to support a distinct test phase, which will likely cause issues in large organizations; they would need a separate test configuration system on the side somehow.
In Show HN: Bake – A modular build system and package manager for C/C++
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://github.com/SanderMertens/bake#can-i-link-with-non-ba... It is also possible to wrap existing libraries in bake projects. This section of the README describes how: https://github.com/SanderMertens/bake/blob/master/README.md#...
In Show HN: Bake – A modular build system and package manager for C/C++

MAKE YOURSELF AT HOME

A few shortcuts

/
Search the collection
?
Open this guide
Esc
Close dialogs and navigation

Your saved repositories and interests stay in this browser.