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="M11 11V5H13V11H19V13H13V19H11V13H5V11H11Z"/></svg>

After

Width:  |  Height:  |  Size: 132 B