| Summary: | CMake misses Android [Patch] | ||
|---|---|---|---|
| Product: | SDL | Reporter: | Martin Gerhardy <martin.gerhardy> |
| Component: | build | Assignee: | Ryan C. Gordon <icculus> |
| Status: | RESOLVED FIXED | QA Contact: | Sam Lantinga <slouken> |
| Severity: | normal | ||
| Priority: | P2 | CC: | icculus |
| Version: | HG 2.0 | ||
| Hardware: | All | ||
| OS: | Android (All) | ||
| Attachments: | the patch for the cmake file | ||
Will also need these patches to be applied to let cmake + android work properly: https://bugzilla.libsdl.org/show_bug.cgi?id=3201 https://bugzilla.libsdl.org/show_bug.cgi?id=3200 https://bugzilla.libsdl.org/show_bug.cgi?id=3197 depending on cmake version and the toolchain you use - you might also have to apply this patch to the android toolchain cmake file: https://github.com/taka-no-me/android-cmake/pull/70 (for cmake >= 3.0.0) ups - not the linked pr #70 - but this is needed for the android toolchain : https://github.com/taka-no-me/android-cmake/pull/73 And if someone is interested in a real world example - check out the commits around this one: https://github.com/mgerhardy/caveexpress/commits/1c5c62b328f4d49a2043f1509929591754e22aa4 This patch is now https://hg.libsdl.org/SDL/rev/9145e51b15bb, thanks! We'll sort out Bug #3200 over there. --ryan. |
Created attachment 2321 [details] the patch for the cmake file If you are building SDL for android with cmake, some stuff is missing for it to work. The attached patch fixes some of the issues (more to come once time allows)