Replaced compilation checks and multi-source with cache file option and built-in cachedCompile feature.