mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-05-29 11:31:42 +02:00
don't install the HockeyApp build
This commit is contained in:
parent
62a8483e3c
commit
161b49a819
2 changed files with 3 additions and 1 deletions
|
@ -121,7 +121,7 @@ macro(qt_create_apk)
|
||||||
|
|
||||||
# use androiddeployqt to create the apk
|
# use androiddeployqt to create the apk
|
||||||
add_custom_target(${TARGET_NAME}-apk
|
add_custom_target(${TARGET_NAME}-apk
|
||||||
COMMAND ${ANDROID_DEPLOY_QT} --input "${TARGET_NAME}-deployment.json" --output "${ANDROID_APK_OUTPUT_DIR}" --android-platform android-${ANDROID_API_LEVEL} --install --verbose --deployment bundled "\\$(ARGS)"
|
COMMAND ${ANDROID_DEPLOY_QT} --input "${TARGET_NAME}-deployment.json" --output "${ANDROID_APK_OUTPUT_DIR}" --android-platform android-${ANDROID_API_LEVEL} ${ANDROID_DEPLOY_QT_INSTALL} --verbose --deployment bundled "\\$(ARGS)"
|
||||||
DEPENDS ${TARGET_NAME} ${TARGET_NAME}-copy-res ${TARGET_NAME}-copy-assets ${TARGET_NAME}-copy-java ${TARGET_NAME}-copy-libs
|
DEPENDS ${TARGET_NAME} ${TARGET_NAME}-copy-res ${TARGET_NAME}-copy-assets ${TARGET_NAME}-copy-java ${TARGET_NAME}-copy-libs
|
||||||
)
|
)
|
||||||
endmacro()
|
endmacro()
|
|
@ -20,6 +20,7 @@ set(ANDROID_APP_DISPLAY_NAME Interface)
|
||||||
set(ANDROID_API_LEVEL 19)
|
set(ANDROID_API_LEVEL 19)
|
||||||
set(ANDROID_APK_PACKAGE io.highfidelity.gvrinterface)
|
set(ANDROID_APK_PACKAGE io.highfidelity.gvrinterface)
|
||||||
set(ANDROID_ACTIVITY_NAME io.highfidelity.gvrinterface.InterfaceActivity)
|
set(ANDROID_ACTIVITY_NAME io.highfidelity.gvrinterface.InterfaceActivity)
|
||||||
|
set(ANDROID_DEPLOY_QT_INSTALL "--install")
|
||||||
|
|
||||||
find_package(LibOVR REQUIRED)
|
find_package(LibOVR REQUIRED)
|
||||||
target_link_libraries(${TARGET_NAME} ${LIBOVR_LIBRARIES} ${LIBOVR_ANDROID_LIBRARIES})
|
target_link_libraries(${TARGET_NAME} ${LIBOVR_LIBRARIES} ${LIBOVR_ANDROID_LIBRARIES})
|
||||||
|
@ -36,6 +37,7 @@ if (HOCKEY_APP_ID)
|
||||||
set(HOCKEY_APP_ENABLED true)
|
set(HOCKEY_APP_ENABLED true)
|
||||||
set(HOCKEY_APP_ACTIVITY "<activity android:name='net.hockeyapp.android.UpdateActivity' />")
|
set(HOCKEY_APP_ACTIVITY "<activity android:name='net.hockeyapp.android.UpdateActivity' />")
|
||||||
set(ANDROID_ACTIVITY_NAME io.highfidelity.gvrinterface.InterfaceBetaActivity)
|
set(ANDROID_ACTIVITY_NAME io.highfidelity.gvrinterface.InterfaceBetaActivity)
|
||||||
|
set(ANDROID_DEPLOY_QT_INSTALL "")
|
||||||
|
|
||||||
configure_file("${CMAKE_CURRENT_SOURCE_DIR}/templates/InterfaceBetaActivity.java.in" "${ANDROID_APK_BUILD_DIR}/src/io/highfidelity/gvrinterface/InterfaceBetaActivity.java")
|
configure_file("${CMAKE_CURRENT_SOURCE_DIR}/templates/InterfaceBetaActivity.java.in" "${ANDROID_APK_BUILD_DIR}/src/io/highfidelity/gvrinterface/InterfaceBetaActivity.java")
|
||||||
else ()
|
else ()
|
||||||
|
|
Loading…
Reference in a new issue