Build: libraries optimized, resources compiled from files, stb and doctest as submodules

CMAKE_BUILD_TYPE is now set before the libraries are added, so SDL, SDL_mixer and lunasvg build optimized.
Release on Linux is -O2 with unused sections dropped and the binary stripped.
SDL builds only what the editor uses. simdjson builds without exceptions and with two parsers.
Fonts, icons, the About music and friends live under resources/ and compile in through one generated C file.
The string tables are shared between files instead of copied into each.
nanosvg and imconfig.h were unused and are gone.
This commit is contained in:
shweet committed 2026-11-22 17:07:36 -05:00
1 parent 4e35f9d450
commit a515267e26
80 files changed
+537 -156690

No files matched your search

+1
View File
@@ -0,0 +1 @@
<svg viewBox="0 0 24 24" fill="#FFF" xmlns="http://www.w3.org/2000/svg"><path d="M15 17V19H6C5.44772 19 5 18.5523 5 18V7H2V5H5V2H7V17H15ZM17 22V7H9V5H18C18.5523 5 19 5.44772 19 6V17H22V19H19V22H17Z"/></svg>

After

Width:  |  Height:  |  Size: 207 B