https://github.com/bhallstein/sdl-me-up
SDL prepped for instant usability as a submodule.
https://github.com/bhallstein/sdl-me-up
Last synced: over 1 year ago
JSON representation
SDL prepped for instant usability as a submodule.
- Host: GitHub
- URL: https://github.com/bhallstein/sdl-me-up
- Owner: bhallstein
- License: mit
- Created: 2022-06-04T13:20:23.000Z (about 4 years ago)
- Default Branch: int
- Last Pushed: 2022-06-05T14:13:26.000Z (about 4 years ago)
- Last Synced: 2025-01-21T07:42:44.920Z (over 1 year ago)
- Language: C
- Homepage:
- Size: 1.92 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: Readme.md
- License: LICENSE
Awesome Lists containing this project
README
# SDL-Me-Up
[The SDL library](https://github.com/libsdl-org/SDL), prepped for use as a submodule-style dependency.
**Current release:** release-2.0.22
### Contents
- `/include` — SDL's include path
- `/mac/libSDL2.a` — SDL compiled as a static library for mac (x64 and arm)
### Mac usage instructions
- Add `sdl-me-up/include` as a header search path
- Add libSDL2.a as a static library or framework
- Add other frameworks that are required by SDL
- Command line example:
```bash
clang++ -std=c++14 my-game.cpp \
-I sdl-me-up/include \
-L lib -l SDL2 \
-framework AudioToolbox \
-framework Carbon \
-framework Cocoa \
-framework CoreAudio \
-framework CoreGraphics \
-framework CoreVideo \
-framework ForceFeedback \
-framework IOKit \
-framework Metal \
-o my-game
```