add a lib for rendering text in sdl2 and rules to make in makefile

This commit is contained in:
2026-01-21 14:45:11 -06:00
parent f3c0aafe2f
commit e7d9c013f4
1754 changed files with 850297 additions and 0 deletions

View File

@@ -0,0 +1,22 @@
# Common variables for FindSDL2*.cmake modules
set(_inc_suffixes include)
set(_lib_suffixes)
if(MSVC)
if(CMAKE_SIZEOF_VOID_P EQUAL 4)
list(APPEND _lib_suffixes "lib/x86")
endif()
if(CMAKE_SIZEOF_VOID_P EQUAL 8)
list(APPEND _lib_suffixes "lib/x64")
endif()
endif()
if(MINGW)
if(CMAKE_SIZEOF_VOID_P EQUAL 4)
list(APPEND _lib_suffixes "i686-w64-mingw32/lib")
list(APPEND _inc_suffixes "i686-w64-mingw32/include")
endif()
if(CMAKE_SIZEOF_VOID_P EQUAL 8)
list(APPEND _lib_suffixes "x86_46-w64-mingw32/lib")
list(APPEND _inc_suffixes "x86_46-w64-mingw32/include")
endif()
endif()