Initial commit

This commit is contained in:
2023-11-26 20:13:49 +01:00
commit dc2dc5c58b
820 changed files with 258269 additions and 0 deletions

View File

@ -0,0 +1,13 @@
Please distribute this file with the SDL runtime environment:
The Simple DirectMedia Layer (SDL for short) is a cross-platform library
designed to make it easy to write multi-media software, such as games and
emulators.
The Simple DirectMedia Layer library source code is available from:
http://www.libsdl.org/
This library is distributed under the terms of the zlib license:
http://www.zlib.net/zlib_license.html

View File

@ -0,0 +1,43 @@
@echo off
rem The SDL2.DLL was downloaded from http://libsdl.org
rem The SDL2.LIB was created using "dumpbin" and "lib"
rem The libSDL2.a was created using "dumpbin" and "dlltool"
rem Visual Studio uses SDL2.lib for linking
rem Gcc uses libSDL2.a for linking
rem Both use SDL2.dll at runtime
set oldpath=%path%
set path="C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\bin";C:\touchgfx-env\MinGW\msys\1.0\bin;C:\touchgfx-env\MinGW\bin;%path%
rem create SDL2.lib for Visual Studio
echo EXPORTS > SDL2.def
dumpbin /EXPORTS SDL2.dll | grep SDL_ | cut -c 27- >>SDL2.def
lib /def:SDL2.def /machine:x86 /out:SDL2.lib
rem create libSDL2.a for mingw32
echo LIBRARY SDL2.DLL >SDL2.def
echo EXPORTS >> SDL2.def
dumpbin /EXPORTS SDL2.dll | grep SDL_ | cut -c 27- >>SDL2.def
dlltool -d SDL2.def -l libSDL2.a
del SDL2.def
del SDL2.exp
rem create SDL2_image.lib for Visual Studio
echo EXPORTS > SDL2_image.def
dumpbin /EXPORTS SDL2_image.dll | grep IMG_ | cut -c 27- >>SDL2_image.def
lib /def:SDL2_image.def /machine:x86 /out:SDL2_image.lib
rem create libSDL2_image.a for mingw32
echo LIBRARY SDL2_image.DLL >SDL2_image.def
echo EXPORTS >> SDL2_image.def
dumpbin /EXPORTS SDL2_image.dll | grep IMG_ | cut -c 27- >>SDL2_image.def
dlltool -d SDL2_image.def -l libSDL2_image.a
del SDL2_image.def
del SDL2_image.exp
set path=%oldpath%
set oldpath=