Dependencies for Simple 2D
This contains development libraries and assets needed by Simple 2D. External libraries included are:
- Simple DirectMedia Layer (SDL)
- OpenGL Extension Wrangler Library (GLEW)
View licenses for all libraries above.
Contents
glew-mingw/
β Pre-built library binaries for GLEW on MinGW (see README in directory for details)headers/
β Headers needed for all platformshomebrew/
β Custom Homebrew formulasios/
β iOS SDL framework, built bybuild.sh
macos/
β macOS static libraries, built bybuild.sh
mingw/
β MinGW static and runtime libraries, downloaded and organized from pre-built sourcetmp/
β Temporary directory used by the build processtvos/
β tvOS SDL framework, built bybuild.sh
vc/
β Visual C++ static and runtime libraries, downloaded and organized from pre-built sourcexcode/
β Xcode projects and assets (see README in directory for details)
Building libraries
Run make
to build everything (and optionally make uninstall
and make clean
before starting). The primary build script, build.sh
, is designed to be run on macOS (to build macOS, iOS, and tvOS libraries). See the Makefile
for other helpful commands.
Caveats
- Homebrew has a few mis-configured formulas for our needs. Updated formulas are in the
homebrew/
directory, with the changes made to each formula in the file's comments.
Updating
To update the libraries in this repo, do the following:
- Update the SDL version numbers in
build.sh
- Update the Homebrew formulas in
homebrew/
(version numbers, etc.) - Update
glew-mingw/
(follow README in that directory) - Update Xcode projects in
xcode/
directory - Run
make clean uninstall && make
to rebuild everything