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