News for hackers. Stuff that matters.
Re:Rendering like it's 1996 – Baby's first pixel by ravi-delia on Monday January 16, 2023 @09:27AM (#34400957)
If you don't want a build system and are willing to use a higher level language, it's still pretty easy. This automatically builds the same demo for the web- something you can do without.
Re:Rendering like it's 1996 – Baby's first pixel by intelVISA on Monday January 16, 2023 @10:34AM (#34401629)
CMake is already obtuse, I can't imagine how the author can cope with a "CMakePresets.json" on-top.

That said, most of this seems to be Emscripten related kludge... seems kinda backward to use a portable language like C and compile to support one format (web).

Re:Rendering like it's 1996 – Baby's first pixel by flohofwoe on Monday January 16, 2023 @11:09AM (#34402030)
Apart from the CMake setup, cmake presets also simplify integration with IDEs (like in this case: VSCode) - AFAIK that was actually the main motivation behind the feature.