Re:Show HN: Bake – A modular build system and package manage...
by thechao on Sunday December 30, 2018 @10:19AM
(#18789524)
Like... Make? I’ve been slowly converting the Jr devs to Make. You know the best part about Make? The documentation provided by GNU: https://www.gnu.org/software/make/manual/make.html.
[ Parent
| on HN ]
Re:Show HN: Bake – A modular build system and package manage...
by orbifold on Sunday December 30, 2018 @11:00AM
(#18789742)
You are doing them a disservice. At least for cross platform C++ the best thing to use right now is CMake, followed by Bazel and gn (what chrome uses). The reason CMake is a good idea is because a large number of C++ projects support it and it has decent integration with XCode, Visual Studio (Code) and pretty much everything else as well. Using ninja gives you decent speed.
Re:Show HN: Bake – A modular build system and package manage...
by AlotOfReading on Sunday December 30, 2018 @01:38PM
(#18790596)
CMake is painful to use for so many common things I find it hard to believe it's achieved the popularity it has. For instance, given the focus on out-of-source builds, the -H and -B options remain undocumented for vague reasons. The community has also sworn off clean builds for some reason. The most baffling part is how anemic the command line interface is compared to the scripting language. For a tool targeting the command line aware C/C++ communities, it's far too common to rewrite build scripts with awk/sed/perl because the command line doesn't have the options you need.
Re:Show HN: Bake – A modular build system and package manage...
by jchw on Sunday December 30, 2018 @12:13PM
(#18790119)
I think Bazel is a really cool option. It really does deliver on the 'fast, correct' promise strongly.
That said, it certainly isn't perfect. Windows support is something that could use some improvements. I've contributed a bit on that front, but since I don't actually use Windows myself it's mostly for the sake of making Bazel usable for more people so I can feel less bad adopting it in FOSS projects. There's a lot of small bits I just don't have time to try and help with right now.
(The usual disclaimer: I work at Google but not on Bazel. At least not during work hours :) )
Re:Show HN: Bake – A modular build system and package manage...
by AHTERIX5000 on Sunday December 30, 2018 @11:21AM
(#18789836)
Yeah, make can be useful tool but it solves different set of problems than Autotools or CMake. Definitely not a fan of either of them but currently CMake seems to be the least bad choice for cross-platform development. Like the C++ language itself ;-)