summaryrefslogtreecommitdiff
path: root/CMake/Android/app.build.gradle.in
diff options
context:
space:
mode:
authorMatthias Melcher <git@matthiasm.com>2019-01-15 01:22:18 +0100
committerMatthias Melcher <git@matthiasm.com>2019-01-15 01:22:18 +0100
commitb450cea7e249d521ba9ebf3d186db45656b9fcc4 (patch)
treea314e25e0a389ae7d1e60fecb602b16db1ac316f /CMake/Android/app.build.gradle.in
parente25511131b08c839f32515da87333db78f24d630 (diff)
Android: starting to use CMake to build AndroidStudio files.
Diffstat (limited to 'CMake/Android/app.build.gradle.in')
-rw-r--r--CMake/Android/app.build.gradle.in26
1 files changed, 26 insertions, 0 deletions
diff --git a/CMake/Android/app.build.gradle.in b/CMake/Android/app.build.gradle.in
new file mode 100644
index 000000000..dd66c8d93
--- /dev/null
+++ b/CMake/Android/app.build.gradle.in
@@ -0,0 +1,26 @@
+apply plugin: 'com.android.application'
+
+ android {
+ compileSdkVersion 25
+
+ defaultConfig {
+ applicationId 'org.fltk.android_hello'
+ minSdkVersion 14
+ targetSdkVersion 25
+ externalNativeBuild {
+ cmake {
+ arguments '-DANDROID_STL=c++_shared'
+ }
+ }
+ }
+ buildTypes {
+ release {
+ minifyEnabled false
+ }
+ }
+ externalNativeBuild {
+ cmake {
+ path 'src/main/cpp/CMakeLists.txt'
+ }
+ }
+ }