You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+21-2
Original file line number
Diff line number
Diff line change
@@ -2,11 +2,30 @@
2
2
3
3
This is a simple bootstrap project to start using SDL in Android and iOS with CMake
4
4
5
+
The project's source code is split into different files to show how CMake can help support more complex code base structures.
6
+
5
7
## Android
6
8
This project is an update of the hello world project here https://github.com/stephen47/android-sdl2-gradle-template, as I couldn't find a good way to integrate a CMake built C++ project to an android application.
7
9
It features a sample hello world using SDL and SDL_image.
8
10
9
-
The project has now been restructured to use a simple flow. To use it, simply open `android` as a project in Android Studio. Compiling and running should work out of the box.
11
+
The project has now been restructured to use a simple flow. To use it, simply open `android` as a project in Android Studio, then compile and run from there.
10
12
11
13
## iOS
12
-
The setup was inspired from https://lazyfoo.net/tutorials/SDL/52_hello_mobile/ios_mac/index.php
14
+
Similarly to the Android setup, simply open the Xcode project under `ios` and you can compile and run from there.
15
+
When you add new files to `src`, you don't need to add them in the Xcode project, CMake will take care of it
0 commit comments