add custom android package contents and build script.

This commit is contained in:
2020-06-18 10:55:30 -04:00
parent 46d692c534
commit ef21bd2284
4 changed files with 157 additions and 0 deletions

6
android-build.sh Normal file
View File

@@ -0,0 +1,6 @@
#!/bin/sh
mkdir -p `dirname "$0"`/android-build
cd `dirname "$0"`/android-build
cmake -DCMAKE_TOOLCHAIN_FILE=/opt/kdeandroid-arm/share/ECM/toolchain/Android.cmake -DECM_ADDITIONAL_FIND_ROOT_PATH="/opt/Qt;/opt/kdeandroid-arm/" -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/output -DQTANDROID_EXPORTED_TARGET=vehiclevoyage -DANDROID_APK_DIR=../packaging/android ..
make
make create-apk-vehiclevoyage