{"id":28315703,"url":"https://github.com/jaxkdev/sdl3-sample","last_synced_at":"2026-01-25T13:32:35.135Z","repository":{"id":293718021,"uuid":"984923245","full_name":"JaxkDev/sdl3-sample","owner":"JaxkDev","description":null,"archived":false,"fork":false,"pushed_at":"2025-05-16T20:38:51.000Z","size":4813,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-22T05:32:54.626Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"CMake","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/JaxkDev.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-05-16T18:36:52.000Z","updated_at":"2025-05-16T20:38:54.000Z","dependencies_parsed_at":"2025-05-16T19:55:04.401Z","dependency_job_id":null,"html_url":"https://github.com/JaxkDev/sdl3-sample","commit_stats":null,"previous_names":["jaxkdev/sdl3-sample"],"tags_count":0,"template":true,"template_full_name":"Ravbug/sdl3-sample","purl":"pkg:github/JaxkDev/sdl3-sample","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JaxkDev%2Fsdl3-sample","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JaxkDev%2Fsdl3-sample/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JaxkDev%2Fsdl3-sample/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JaxkDev%2Fsdl3-sample/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/JaxkDev","download_url":"https://codeload.github.com/JaxkDev/sdl3-sample/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JaxkDev%2Fsdl3-sample/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28753440,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-25T10:25:12.305Z","status":"ssl_error","status_checked_at":"2026-01-25T10:25:11.933Z","response_time":113,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-05-24T23:19:25.941Z","updated_at":"2026-01-25T13:32:35.129Z","avatar_url":"https://github.com/JaxkDev.png","language":"CMake","funding_links":[],"categories":[],"sub_categories":[],"readme":"## SDL3 App From Source Minimal Example\nThis is a minimal example for building and using SDL3, SDL_Mixer, SDL_Image, and SDL_ttf_ from source \nusing C++ and CMake. It also demonstrates setting up things like macOS/iOS\nbundles.\nSee [src/main.cpp](src/main.cpp) for the code. \n\n### Building And Running\nInstall CMake and your favorite compiler, and follow the commands below:\n```sh\n# You need to clone with submodules, otherwise SDL will not download.\ngit clone https://github.com/Ravbug/sdl3-sample --depth=1 --recurse-submodules\ncd sdl3-sample\ncmake -S . -B build\n```\nYou can also use an init script inside [`scripts/`](scripts/). Then open the IDE project inside `build/` \n(If you had CMake generate one) and run!\n\n## Supported Platforms\nI have tested the following:\n| Platform | Architecture | Generator |\n| --- | --- | --- |\n| macOS | x86_64, arm64 | Xcode |\n| iOS | x86_64, arm64 | Xcode |\n| tvOS | x86_64, arm64 | Xcode |\n| visionOS* | arm64 | Xcode |\n| Windows | x86_64, arm64 | Visual Studio |\n| Linux | x86_64, arm64 | Ninja, Make |\n| Web* | wasm | Ninja, Make |\n| Android* | x86, x64, arm, arm64 | Ninja via Android Studio |\n\n*See further instructions in [`scripts/`](scripts/)\n\nNote: UWP support was [removed from SDL3](https://github.com/libsdl-org/SDL/pull/10731) during its development. For historical reasons, you can get a working UWP sample via this commit: [df270da](https://github.com/jaxkdev/sdl3-sample/tree/df270daa8d6d48426e128e50c73357dfdf89afbf)\n\n## Updating SDL\nJust update the submodule:\n```sh\ncd SDL\ngit pull\ncd ..\n\ncd SDL_ttf\ngit pull\n```\nYou don't need to use a submodule, you can also copy the source in directly. This\nrepository uses a submodule to keep its size to a minimum.\n\n## Reporting issues\nIs something not working? Create an Issue or send a Pull Request on this repository!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjaxkdev%2Fsdl3-sample","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjaxkdev%2Fsdl3-sample","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjaxkdev%2Fsdl3-sample/lists"}