summaryrefslogtreecommitdiffstats
path: root/cmake/platform/android
diff options
context:
space:
mode:
Diffstat (limited to 'cmake/platform/android')
-rw-r--r--cmake/platform/android/android.cmake7
-rw-r--r--cmake/platform/android/defines.txt1
2 files changed, 8 insertions, 0 deletions
diff --git a/cmake/platform/android/android.cmake b/cmake/platform/android/android.cmake
new file mode 100644
index 0000000..2c4fbb4
--- /dev/null
+++ b/cmake/platform/android/android.cmake
@@ -0,0 +1,7 @@
+set(PLATFORM_REQUIRED_DEPS LibAndroidJNI OpenGLES EGL LibZip)
+set(APP_RENDER_SYSTEM gles)
+
+# Store SDK compile version
+set(TARGET_SDK 33)
+# Minimum supported SDK version
+set(TARGET_MINSDK 21)
diff --git a/cmake/platform/android/defines.txt b/cmake/platform/android/defines.txt
new file mode 100644
index 0000000..4b70e59
--- /dev/null
+++ b/cmake/platform/android/defines.txt
@@ -0,0 +1 @@
+-DTARGET_POSIX -DTARGET_LINUX -DTARGET_ANDROID