Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Various compilation speed improvements
- Move GLHeaders into Main.h to be precompiled - Moved Mus2Mid and ZReaders stuff out of thirdparty and into the main sources as they are using Main.h (for MemChunk), which is pretty hefty and meant to be precompiled - The biggest change is splitting up the sol3 lua exports into multiple files where appropriate. This goes against the advice in the sol3 documentation (to put everything in one cpp file) but for me splitting it over multiple gives a massive compile speed improvement as parallel multi-core compilation can be better utilised. This change *may* cause compilation time to increase on older CPUS with less cores but hopefully it won't be too bad These changes bring full rebuild time (on my Ryzen 7 7700X) down from ~35 seconds to ~22 seconds
- Loading branch information