{"id":20106729,"url":"https://github.com/ravbug/sdl-android-builder","last_synced_at":"2025-03-02T17:48:35.944Z","repository":{"id":193068006,"uuid":"688043214","full_name":"Ravbug/sdl-android-builder","owner":"Ravbug","description":"Making building SDL projects for Android easier","archived":false,"fork":false,"pushed_at":"2024-12-01T01:50:56.000Z","size":227,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-01-13T05:10:32.621Z","etag":null,"topics":["android","sdl","sdl3"],"latest_commit_sha":null,"homepage":"","language":"Java","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/Ravbug.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}},"created_at":"2023-09-06T14:28:57.000Z","updated_at":"2024-12-30T09:45:08.000Z","dependencies_parsed_at":"2023-09-06T16:55:29.470Z","dependency_job_id":"2bd8e12a-5039-4a3e-816c-a2a5b18f1e65","html_url":"https://github.com/Ravbug/sdl-android-builder","commit_stats":null,"previous_names":["ravbug/sdl-android-builder"],"tags_count":0,"template":true,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ravbug%2Fsdl-android-builder","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ravbug%2Fsdl-android-builder/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ravbug%2Fsdl-android-builder/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ravbug%2Fsdl-android-builder/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Ravbug","download_url":"https://codeload.github.com/Ravbug/sdl-android-builder/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241549087,"owners_count":19980475,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["android","sdl","sdl3"],"created_at":"2024-11-13T17:54:36.941Z","updated_at":"2025-03-02T17:48:35.907Z","avatar_url":"https://github.com/Ravbug.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# SDL Android Builder\nThis is a proof-of-concept wrapper repo that makes building SDL projects for Android with CMake easier.\n\n## How To Use:\n1. Place the source code for your game inside `to-build`. This repo contains an optional submodule as an example.\n\t- Your game source code must also configure SDL at some point. See the optional submodule for an example. \n    - Your game should call `add_library` instead of `add_execuable`, and the library must be named `main`, when building for Android.  \n2. Open the root folder of this repository in Android Studio\n3. Build and run!\n\n## Getting the full commands that Gradle is running\nGradle hides this information by default. Both steps are required:\n1. Add `android.native.buildOutput=verbose` to `gradle.properties`\n2. Add `\"-DCMAKE_VERBOSE_MAKEFILE=ON\"` to `externalNativeBuild -\u003e cmake -\u003e arguments` in `app/build.gradle`\n```gradle\nandroid {\n// ...\n\texternalNativeBuild {\n\t\tcmake {\n\t\t\targuments \"-DANDROID_STL=c++_static\", \"-DCMAKE_VERBOSE_MAKEFILE=ON\"\n\t}\n// ...\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fravbug%2Fsdl-android-builder","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fravbug%2Fsdl-android-builder","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fravbug%2Fsdl-android-builder/lists"}