(Android) Added CMake configuration for the Lite release

This commit is contained in:
Leon Styhre 2023-12-25 22:35:35 +01:00
parent 597f58aca0
commit 99c5be8a39

View file

@ -283,8 +283,13 @@ endif()
if(ANDROID) if(ANDROID)
set(BUNDLED_CERTS ON) set(BUNDLED_CERTS ON)
if(ANDROID_LITE_RELEASE)
add_compile_definitions(ANDROID_APPLICATION_ID="org.es_de.frontend.lite")
add_compile_definitions(ANDROID_LITE_RELEASE)
else()
add_compile_definitions(ANDROID_APPLICATION_ID="org.es_de.frontend") add_compile_definitions(ANDROID_APPLICATION_ID="org.es_de.frontend")
endif() endif()
endif()
if(WIN32) if(WIN32)
set(BUNDLED_CERTS ON) set(BUNDLED_CERTS ON)
@ -397,6 +402,11 @@ if(ANDROID)
else() else()
message(FATAL_ERROR "-- Unsupported Android ABI: " ${ANDROID_ABI}) message(FATAL_ERROR "-- Unsupported Android ABI: " ${ANDROID_ABI})
endif() endif()
if(ANDROID_LITE_RELEASE)
message("-- Building Lite release")
else()
message("-- Building full release")
endif()
endif() endif()
# Affects the application updater and is used for displaying version info in the main menu. # Affects the application updater and is used for displaying version info in the main menu.