News for hackers. Stuff that matters.
Re:Show HN: Crown – A flexible game engine written from scra... by mikepurvis on Thursday June 22, 2017 @09:15AM (#14611978)
Huh. Okay, that was not immediately apparent from viewing the project— it looked like a hand-written Makefile. Link for the curious:

https://github.com/bkaradzic/GENie

Appreciating that CMake has its warts, it also has a ton of mindshare and has lots of convenient modules for handling common dependencies. What are the motivations to use a Lua-based scheme instead?

Re:Show HN: Crown – A flexible game engine written from scra... by dbartolini on Thursday June 22, 2017 @09:18AM (#14611995)
I find GENie/premake way simpler to read and write. Also, you have more flexibility since your build scripts have full-fledged Lua capabilities.
Re:Show HN: Crown – A flexible game engine written from scra... by mikepurvis on Thursday June 22, 2017 @09:24AM (#14612033)
Yeah, similar sentiments in the PPT presentation here: https://onedrive.live.com/view.aspx?cid=171ee76e679935c8&pag...

CMake is "too complicated" and "you need to be an expert". Understandable, I suppose. There are certainly specific things in CMake which are pretty terrible, like the add_custom_command/add_custom_target dance, but from the perspective of someone who has had to become an expert in it (via ROS/catkin), I would be unlikely to give it up. There's just way too much stuff it gives you for free, especially when it comes to things like packaging, testing, etc.

Re:Show HN: Crown – A flexible game engine written from scra... by mikepurvis on Thursday June 22, 2017 @09:29AM (#14612059)
Okay, the other thing I would say having examined this a bit is that GENie seems to be much more "project" oriented than CMake. CMake has a concept of projects, but its usual model centers around targets and directories as the main unit to reason about. That is, CMake's most native output format is a Makefile, with adapters to generate IDE projects.

GENie seems to be focused first and foremost on a project/solution-oriented IDE workflow, with the Makefile generator as the one that's tacked on. So I can definitely appreciate that if you're working on a project where everyone's in an IDE anyway, it would make sense to use a generator that has the IDE's concepts as a first class citizen.