cmake: detect CPU architecture in 1 compilation

This commit is contained in:
Anonymous Maarten
2024-05-26 22:40:47 +02:00
parent 3af4f120d0
commit bba76859f5
8 changed files with 209 additions and 154 deletions

View File

@@ -48,16 +48,16 @@ list(APPEND CMAKE_MODULE_PATH "${SDL3_SOURCE_DIR}/cmake")
include("${SDL3_SOURCE_DIR}/cmake/macros.cmake")
include("${SDL3_SOURCE_DIR}/cmake/sdlchecks.cmake")
include("${SDL3_SOURCE_DIR}/cmake/sdlcompilers.cmake")
include("${SDL3_SOURCE_DIR}/cmake/sdlcpu.cmake")
include("${SDL3_SOURCE_DIR}/cmake/sdlmanpages.cmake")
include("${SDL3_SOURCE_DIR}/cmake/sdlplatform.cmake")
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_DetectTargetCPUArchitectures(SDL_CPUS)
SDL_Preseed_CMakeCache()
# Increment this if there is an incompatible change - but if that happens,