feat: init project android wrapper

This commit is contained in:
2026-04-19 18:43:47 +02:00
commit 79cbb18646
34 changed files with 6454 additions and 0 deletions

1
app/jni/Android.mk Normal file
View File

@@ -0,0 +1 @@
include $(call all-subdir-makefiles)

10
app/jni/Application.mk Normal file
View File

@@ -0,0 +1,10 @@
# Uncomment this if you're using STL in your project
# You can find more information here:
# https://developer.android.com/ndk/guides/cpp-support
# APP_STL := c++_shared
APP_ABI := armeabi-v7a arm64-v8a x86 x86_64
# Min runtime API level
APP_PLATFORM=android-21

15
app/jni/CMakeLists.txt Normal file
View File

@@ -0,0 +1,15 @@
cmake_minimum_required(VERSION 3.6)
project(GAME)
# SDL sources are in a subfolder named "SDL"
add_subdirectory(SDL)
# Compilation of companion libraries
#add_subdirectory(SDL_image)
#add_subdirectory(SDL_mixer)
#add_subdirectory(SDL_ttf)
# Your game and its CMakeLists.txt are in a subfolder named "src"
add_subdirectory(src)