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:
1 parent
4e35f9d450
commit
a515267e26
80 files changed
+537
-156690
No files matched your search
+1
Submodule external/doctest added at 2d0a9359a6.
Vendored
-7134
File diff suppressed because it is too large.
Load diff
+1
Submodule external/stb added at 6b5799bae8.
Reference in new issue
Block a user