Initial CMake configuration

This commit is contained in:
Francisco Javier Trujillo Mata
2022-06-06 00:02:08 +02:00
committed by Sam Lantinga
parent 273d9e4640
commit 580416d3c8
2 changed files with 7 additions and 4 deletions

View File

@@ -250,7 +250,7 @@ if(APPLE OR ARCH_64 OR MSVC_CLANG)
set(OPT_DEF_SSEMATH ON)
endif()
endif()
if(UNIX OR MINGW OR MSYS OR (USE_CLANG AND NOT WINDOWS) OR VITA OR PSP)
if(UNIX OR MINGW OR MSYS OR (USE_CLANG AND NOT WINDOWS) OR VITA OR PSP OR PS2)
set(OPT_DEF_LIBC ON)
endif()
@@ -355,7 +355,7 @@ if(EMSCRIPTEN)
set(SDL_TEST_ENABLED_BY_DEFAULT OFF)
endif()
if(VITA OR PSP)
if(VITA OR PSP OR PS2)
set(SDL_SHARED_ENABLED_BY_DEFAULT OFF)
set(SDL_LOADSO_ENABLED_BY_DEFAULT OFF)
endif()
@@ -2521,6 +2521,9 @@ elseif(PSP)
GL
)
elseif(PS2)
list(APPEND EXTRA_CFLAGS "-DPS2")
elseif(OS2)
list(APPEND EXTRA_CFLAGS "-DOS2EMX_PLAIN_CHAR")