diff options
Diffstat (limited to 'SDL2-2.24.0/x86_64-w64-mingw32/lib')
| -rw-r--r-- | SDL2-2.24.0/x86_64-w64-mingw32/lib/cmake/SDL2/sdl2-config-version.cmake | 12 | ||||
| -rw-r--r-- | SDL2-2.24.0/x86_64-w64-mingw32/lib/cmake/SDL2/sdl2-config.cmake | 195 | ||||
| -rw-r--r-- | SDL2-2.24.0/x86_64-w64-mingw32/lib/libSDL2.a | bin | 0 -> 18415312 bytes | |||
| -rwxr-xr-x | SDL2-2.24.0/x86_64-w64-mingw32/lib/libSDL2.dll.a | bin | 0 -> 544888 bytes | |||
| -rwxr-xr-x | SDL2-2.24.0/x86_64-w64-mingw32/lib/libSDL2.la | 41 | ||||
| -rw-r--r-- | SDL2-2.24.0/x86_64-w64-mingw32/lib/libSDL2_test.a | bin | 0 -> 594674 bytes | |||
| -rwxr-xr-x | SDL2-2.24.0/x86_64-w64-mingw32/lib/libSDL2_test.la | 41 | ||||
| -rw-r--r-- | SDL2-2.24.0/x86_64-w64-mingw32/lib/libSDL2main.a | bin | 0 -> 9080 bytes | |||
| -rwxr-xr-x | SDL2-2.24.0/x86_64-w64-mingw32/lib/libSDL2main.la | 41 | ||||
| -rw-r--r-- | SDL2-2.24.0/x86_64-w64-mingw32/lib/pkgconfig/sdl2.pc | 15 |
10 files changed, 345 insertions, 0 deletions
diff --git a/SDL2-2.24.0/x86_64-w64-mingw32/lib/cmake/SDL2/sdl2-config-version.cmake b/SDL2-2.24.0/x86_64-w64-mingw32/lib/cmake/SDL2/sdl2-config-version.cmake new file mode 100644 index 0000000..f6683e8 --- /dev/null +++ b/SDL2-2.24.0/x86_64-w64-mingw32/lib/cmake/SDL2/sdl2-config-version.cmake @@ -0,0 +1,12 @@ +# sdl2 cmake project-config-version input for ./configure scripts + +set(PACKAGE_VERSION "2.24.0") + +if(PACKAGE_VERSION VERSION_LESS PACKAGE_FIND_VERSION) + set(PACKAGE_VERSION_COMPATIBLE FALSE) +else() + set(PACKAGE_VERSION_COMPATIBLE TRUE) + if(PACKAGE_FIND_VERSION STREQUAL PACKAGE_VERSION) + set(PACKAGE_VERSION_EXACT TRUE) + endif() +endif() diff --git a/SDL2-2.24.0/x86_64-w64-mingw32/lib/cmake/SDL2/sdl2-config.cmake b/SDL2-2.24.0/x86_64-w64-mingw32/lib/cmake/SDL2/sdl2-config.cmake new file mode 100644 index 0000000..6ab607d --- /dev/null +++ b/SDL2-2.24.0/x86_64-w64-mingw32/lib/cmake/SDL2/sdl2-config.cmake @@ -0,0 +1,195 @@ +# sdl2 cmake project-config input for ./configure script + +include(FeatureSummary) +set_package_properties(SDL2 PROPERTIES + URL "https://www.libsdl.org/" + DESCRIPTION "low level access to audio, keyboard, mouse, joystick, and graphics hardware" +) + +# Copied from `configure_package_config_file` +macro(set_and_check _var _file) + set(${_var} "${_file}") + if(NOT EXISTS "${_file}") + message(FATAL_ERROR "File or directory ${_file} referenced by variable ${_var} does not exist !") + endif() +endmacro() + +get_filename_component(prefix "${CMAKE_CURRENT_LIST_DIR}/../../.." ABSOLUTE) + +set(exec_prefix "${prefix}") +set(bindir "${exec_prefix}/bin") +set(libdir "${exec_prefix}/lib") +set(includedir "${prefix}/include") + +set_and_check(SDL2_PREFIX "${prefix}") +set_and_check(SDL2_EXEC_PREFIX "${exec_prefix}") +set_and_check(SDL2_BINDIR "${bindir}") +set_and_check(SDL2_INCLUDE_DIR "${includedir}/SDL2") +set_and_check(SDL2_LIBDIR "${libdir}") +set(SDL2_INCLUDE_DIRS "${includedir};${SDL2_INCLUDE_DIR}") + +set(SDL2_LIBRARIES SDL2::SDL2) +set(SDL2_STATIC_LIBRARIES SDL2::SDL2-static) +set(SDL2MAIN_LIBRARY) +set(SDL2TEST_LIBRARY SDL2::SDL2test) + +unset(prefix) +unset(exec_prefix) +unset(bindir) +unset(libdir) +unset(includedir) + +set(_sdl2_libraries "-lmingw32 -lSDL2main -lSDL2 -mwindows") +set(_sdl2_static_private_libs " -Wl,--dynamicbase -Wl,--nxcompat -Wl,--high-entropy-va -lm -ldinput8 -ldxguid -ldxerr8 -luser32 -lgdi32 -lwinmm -limm32 -lole32 -loleaut32 -lshell32 -lsetupapi -lversion -luuid") + +# Convert _sdl2_libraries to list and keep only libraries +string(REGEX MATCHALL "-[lm]([-a-zA-Z0-9._]+)" _sdl2_libraries "${_sdl2_libraries}") +string(REGEX REPLACE "^-l" "" _sdl2_libraries "${_sdl2_libraries}") +string(REGEX REPLACE ";-l" ";" _sdl2_libraries "${_sdl2_libraries}") + +# Convert _sdl2_static_private_libs to list and keep only libraries +string(REGEX MATCHALL "(-[lm]([-a-zA-Z0-9._]+))|(-Wl,[^ ]*framework[^ ]*)" _sdl2_static_private_libs "${_sdl2_static_private_libs}") +string(REGEX REPLACE "^-l" "" _sdl2_static_private_libs "${_sdl2_static_private_libs}") +string(REGEX REPLACE ";-l" ";" _sdl2_static_private_libs "${_sdl2_static_private_libs}") + +if(_sdl2_libraries MATCHES ".*SDL2main.*") + list(INSERT SDL2_LIBRARIES 0 SDL2::SDL2main) + list(INSERT SDL2_STATIC_LIBRARIES 0 SDL2::SDL2main) + set(_sdl2main_library ${SDL2_LIBDIR}/${CMAKE_STATIC_LIBRARY_PREFIX}SDL2main${CMAKE_STATIC_LIBRARY_SUFFIX}) + if(EXISTS "${_sdl2main_library}") + set(SDL2MAIN_LIBRARY SDL2::SDL2main) + if(NOT TARGET SDL2::SDL2main) + add_library(SDL2::SDL2main STATIC IMPORTED) + set_target_properties(SDL2::SDL2main + PROPERTIES + IMPORTED_LOCATION "${_sdl2main_library}" + ) + if(WIN32) + # INTERFACE_LINK_OPTIONS needs CMake 3.13 + cmake_minimum_required(VERSION 3.13) + # Mark WinMain/WinMain@16 as undefined, such that it will be withheld by the linker. + if(CMAKE_SIZEOF_VOID_P EQUAL 4) + set_target_properties(SDL2::SDL2main + PROPERTIES + INTERFACE_LINK_OPTIONS "-Wl,--undefined=_WinMain@16" + ) + else() + set_target_properties(SDL2::SDL2main + PROPERTIES + INTERFACE_LINK_OPTIONS "-Wl,--undefined=WinMain" + ) + endif() + endif() + endif() + set(SDL2_SDL2main_FOUND TRUE) + else() + set(SDL2_SDL2main_FOUND FALSE) + endif() + unset(_sdl2main_library) +endif() + +# Remove SDL2 since this is the "central" library +# Remove SDL2main since this will be provided by SDL2::SDL2main (if available) +# Remove mingw32 and cygwin since these are not needed when using `-Wl,--undefined,WinMain` +set(_sdl2_link_libraries ${_sdl2_libraries}) +list(REMOVE_ITEM _sdl2_link_libraries SDL2 SDL2main mingw32 cygwin) + +if(WIN32) + set(_sdl2_implib "${SDL2_LIBDIR}/${CMAKE_STATIC_LIBRARY_PREFIX}SDL2${CMAKE_SHARED_LIBRARY_SUFFIX}${CMAKE_STATIC_LIBRARY_SUFFIX}") + set(_sdl2_dll "${SDL2_BINDIR}/SDL2${CMAKE_SHARED_LIBRARY_SUFFIX}") + if(EXISTS "${_sdl2_implib}" AND EXISTS "${_sdl2_dll}") + if(NOT TARGET SDL2::SDL2) + add_library(SDL2::SDL2 SHARED IMPORTED) + set_target_properties(SDL2::SDL2 PROPERTIES + INTERFACE_INCLUDE_DIRECTORIES "${SDL2_INCLUDE_DIR}" + INTERFACE_LINK_LIBRARIES "${_sdl2_link_libraries}" + IMPORTED_LINK_INTERFACE_LANGUAGES "C" + IMPORTED_IMPLIB "${_sdl2_implib}" + IMPORTED_LOCATION "${_sdl2_dll}" + ) + endif() + set(SDL2_SDL2_FOUND TRUE) + else() + set(SDL2_SDL2_FOUND FALSE) + endif() + unset(_sdl2_implib) + unset(_sdl2_dll) +else() + set(_sdl2_shared "${SDL2_LIBDIR}/${CMAKE_SHARED_LIBRARY_PREFIX}SDL2${CMAKE_SHARED_LIBRARY_SUFFIX}") + if(EXISTS "${_sdl2_shared}") + if(NOT TARGET SDL2::SDL2) + add_library(SDL2::SDL2 SHARED IMPORTED) + set_target_properties(SDL2::SDL2 PROPERTIES + INTERFACE_INCLUDE_DIRECTORIES "${SDL2_INCLUDE_DIR}" + INTERFACE_LINK_LIBRARIES "${_sdl2_link_libraries}" + IMPORTED_LINK_INTERFACE_LANGUAGES "C" + IMPORTED_LOCATION "${_sdl2_shared}" + ) + endif() + set(SDL2_SDL2_FOUND TRUE) + else() + set(SDL2_SDL2_FOUND FALSE) + endif() + unset(_sdl2_shared) +endif() + +set(_sdl2_static "${SDL2_LIBDIR}/${CMAKE_STATIC_LIBRARY_PREFIX}SDL2${CMAKE_STATIC_LIBRARY_SUFFIX}") +if(EXISTS "${_sdl2_static}") + if(NOT TARGET SDL2::SDL2-static) + add_library(SDL2::SDL2-static STATIC IMPORTED) + set_target_properties(SDL2::SDL2-static + PROPERTIES + IMPORTED_LOCATION "${_sdl2_static}" + INTERFACE_INCLUDE_DIRECTORIES "${SDL2_INCLUDE_DIR}" + INTERFACE_LINK_LIBRARIES "${_sdl2_link_libraries};${_sdl2_static_private_libs}" + IMPORTED_LINK_INTERFACE_LANGUAGES "C" + ) + endif() + set(SDL2_SDL2-static_FOUND TRUE) +else() + set(SDL2_SDL2-static_FOUND FALSE) +endif() +unset(_sdl2_static) + +unset(_sdl2_link_libraries) + +set(_sdl2test_library "${SDL2_LIBDIR}/${CMAKE_STATIC_LIBRARY_PREFIX}SDL2_test${CMAKE_STATIC_LIBRARY_SUFFIX}") +if(EXISTS "${_sdl2test_library}") + if(NOT TARGET SDL2::SDL2test) + add_library(SDL2::SDL2test STATIC IMPORTED) + set_target_properties(SDL2::SDL2test + PROPERTIES + IMPORTED_LOCATION "_sdl2test_library" + INTERFACE_INCLUDE_DIRECTORIES "${SDL2_INCLUDE_DIR}" + IMPORTED_LINK_INTERFACE_LANGUAGES "C" + ) + endif() + set(SDL2_SDL2test_FOUND TRUE) +else() + set(SDL2_SDL2test_FOUND FALSE) +endif() +unset(_sdl2test_library) + +# Copied from `configure_package_config_file` +macro(check_required_components _NAME) + foreach(comp ${${_NAME}_FIND_COMPONENTS}) + if(NOT ${_NAME}_${comp}_FOUND) + if(${_NAME}_FIND_REQUIRED_${comp}) + set(${_NAME}_FOUND FALSE) + endif() + endif() + endforeach() +endmacro() + +check_required_components(SDL2) + +# Create SDL2::SDL2 alias for static-only builds +if(TARGET SDL2::SDL2-static AND NOT TARGET SDL2::SDL2) + if(CMAKE_VERSION VERSION_LESS "3.18") + # FIXME: Aliasing local targets is not supported on CMake < 3.18, so make it global. + add_library(SDL2::SDL2 INTERFACE IMPORTED) + set_target_properties(SDL2::SDL2 PROPERTIES INTERFACE_LINK_LIBRARIES "SDL2::SDL2-static") + else() + add_library(SDL2::SDL2 ALIAS SDL2::SDL2-static) + endif() +endif() diff --git a/SDL2-2.24.0/x86_64-w64-mingw32/lib/libSDL2.a b/SDL2-2.24.0/x86_64-w64-mingw32/lib/libSDL2.a Binary files differnew file mode 100644 index 0000000..706ae17 --- /dev/null +++ b/SDL2-2.24.0/x86_64-w64-mingw32/lib/libSDL2.a diff --git a/SDL2-2.24.0/x86_64-w64-mingw32/lib/libSDL2.dll.a b/SDL2-2.24.0/x86_64-w64-mingw32/lib/libSDL2.dll.a Binary files differnew file mode 100755 index 0000000..da4e449 --- /dev/null +++ b/SDL2-2.24.0/x86_64-w64-mingw32/lib/libSDL2.dll.a diff --git a/SDL2-2.24.0/x86_64-w64-mingw32/lib/libSDL2.la b/SDL2-2.24.0/x86_64-w64-mingw32/lib/libSDL2.la new file mode 100755 index 0000000..ff52a74 --- /dev/null +++ b/SDL2-2.24.0/x86_64-w64-mingw32/lib/libSDL2.la @@ -0,0 +1,41 @@ +# libSDL2.la - a libtool library file +# Generated by libtool (GNU libtool) 2.4.6 +# +# Please DO NOT delete this file! +# It is necessary for linking the library. + +# The name that we can dlopen(3). +dlname='../bin/SDL2.dll' + +# Names of this library. +library_names='libSDL2.dll.a' + +# The name of the static archive. +old_library='libSDL2.a' + +# Linker flags that cannot go in dependency_libs. +inherited_linker_flags='' + +# Libraries that this one depends upon. +dependency_libs=' -ldinput8 -ldxguid -ldxerr8 -luser32 -lgdi32 -lwinmm -limm32 -lole32 -loleaut32 -lshell32 -lsetupapi -lversion -luuid' + +# Names of additional weak libraries provided by this library +weak_library_names='' + +# Version information for libSDL2. +current=2400 +age=2400 +revision=0 + +# Is this an already installed library? +installed=yes + +# Should we warn about portability when linking against -modules? +shouldnotlink=no + +# Files to dlopen/dlpreopen +dlopen='' +dlpreopen='' + +# Directory that this library needs to be installed in: +libdir='/Users/valve/release/SDL/SDL2-2.24.0/x86_64-w64-mingw32/lib' diff --git a/SDL2-2.24.0/x86_64-w64-mingw32/lib/libSDL2_test.a b/SDL2-2.24.0/x86_64-w64-mingw32/lib/libSDL2_test.a Binary files differnew file mode 100644 index 0000000..614c8e3 --- /dev/null +++ b/SDL2-2.24.0/x86_64-w64-mingw32/lib/libSDL2_test.a diff --git a/SDL2-2.24.0/x86_64-w64-mingw32/lib/libSDL2_test.la b/SDL2-2.24.0/x86_64-w64-mingw32/lib/libSDL2_test.la new file mode 100755 index 0000000..1a8ccd6 --- /dev/null +++ b/SDL2-2.24.0/x86_64-w64-mingw32/lib/libSDL2_test.la @@ -0,0 +1,41 @@ +# libSDL2_test.la - a libtool library file +# Generated by libtool (GNU libtool) 2.4.6 +# +# Please DO NOT delete this file! +# It is necessary for linking the library. + +# The name that we can dlopen(3). +dlname='' + +# Names of this library. +library_names='' + +# The name of the static archive. +old_library='libSDL2_test.a' + +# Linker flags that cannot go in dependency_libs. +inherited_linker_flags='' + +# Libraries that this one depends upon. +dependency_libs='' + +# Names of additional weak libraries provided by this library +weak_library_names='' + +# Version information for libSDL2_test. +current=0 +age=0 +revision=0 + +# Is this an already installed library? +installed=yes + +# Should we warn about portability when linking against -modules? +shouldnotlink=no + +# Files to dlopen/dlpreopen +dlopen='' +dlpreopen='' + +# Directory that this library needs to be installed in: +libdir='/Users/valve/release/SDL/SDL2-2.24.0/x86_64-w64-mingw32/lib' diff --git a/SDL2-2.24.0/x86_64-w64-mingw32/lib/libSDL2main.a b/SDL2-2.24.0/x86_64-w64-mingw32/lib/libSDL2main.a Binary files differnew file mode 100644 index 0000000..986f130 --- /dev/null +++ b/SDL2-2.24.0/x86_64-w64-mingw32/lib/libSDL2main.a diff --git a/SDL2-2.24.0/x86_64-w64-mingw32/lib/libSDL2main.la b/SDL2-2.24.0/x86_64-w64-mingw32/lib/libSDL2main.la new file mode 100755 index 0000000..7da0aa3 --- /dev/null +++ b/SDL2-2.24.0/x86_64-w64-mingw32/lib/libSDL2main.la @@ -0,0 +1,41 @@ +# libSDL2main.la - a libtool library file +# Generated by libtool (GNU libtool) 2.4.6 +# +# Please DO NOT delete this file! +# It is necessary for linking the library. + +# The name that we can dlopen(3). +dlname='' + +# Names of this library. +library_names='' + +# The name of the static archive. +old_library='libSDL2main.a' + +# Linker flags that cannot go in dependency_libs. +inherited_linker_flags='' + +# Libraries that this one depends upon. +dependency_libs='' + +# Names of additional weak libraries provided by this library +weak_library_names='' + +# Version information for libSDL2main. +current=0 +age=0 +revision=0 + +# Is this an already installed library? +installed=yes + +# Should we warn about portability when linking against -modules? +shouldnotlink=no + +# Files to dlopen/dlpreopen +dlopen='' +dlpreopen='' + +# Directory that this library needs to be installed in: +libdir='/Users/valve/release/SDL/SDL2-2.24.0/x86_64-w64-mingw32/lib' diff --git a/SDL2-2.24.0/x86_64-w64-mingw32/lib/pkgconfig/sdl2.pc b/SDL2-2.24.0/x86_64-w64-mingw32/lib/pkgconfig/sdl2.pc new file mode 100644 index 0000000..e60d477 --- /dev/null +++ b/SDL2-2.24.0/x86_64-w64-mingw32/lib/pkgconfig/sdl2.pc @@ -0,0 +1,15 @@ +# sdl pkg-config source file + +prefix=/opt/local/x86_64-w64-mingw32 +exec_prefix=${prefix} +libdir=${exec_prefix}/lib +includedir=${prefix}/include + +Name: sdl2 +Description: Simple DirectMedia Layer is a cross-platform multimedia library designed to provide low level access to audio, keyboard, mouse, joystick, 3D hardware via OpenGL, and 2D video framebuffer. +Version: 2.24.0 +Requires: +Conflicts: +Libs: -L${libdir} -lmingw32 -lSDL2main -lSDL2 -mwindows +Libs.private: -Wl,--dynamicbase -Wl,--nxcompat -Wl,--high-entropy-va -lm -ldinput8 -ldxguid -ldxerr8 -luser32 -lgdi32 -lwinmm -limm32 -lole32 -loleaut32 -lshell32 -lsetupapi -lversion -luuid +Cflags: -I${includedir} -I${includedir}/SDL2 -Dmain=SDL_main |
