cmake: preseed CMake cache on MSVC to speed up configuration

This commit is contained in:
Anonymous Maarten
2024-04-17 15:06:01 +02:00
committed by Anonymous Maarten
parent daf5009395
commit 3c00af1ac6
2 changed files with 180 additions and 0 deletions

View File

@@ -54,9 +54,11 @@ include("${SDL3_SOURCE_DIR}/cmake/sdltargets.cmake")
include("${SDL3_SOURCE_DIR}/cmake/CheckCPUArchitecture.cmake")
include("${SDL3_SOURCE_DIR}/cmake/GetGitRevisionDescription.cmake")
include("${SDL3_SOURCE_DIR}/cmake/3rdparty.cmake")
include("${SDL3_SOURCE_DIR}/cmake/PreseedMSVCCache.cmake")
SDL_DetectCompiler()
SDL_DetectCPUArchitecture()
SDL_Preseed_CMakeCache()
# Increment this if there is an incompatible change - but if that happens,
# we should rename the library from SDL3 to SDL4, at which point this would