From 99c5be8a39fd52cb86eb002e13818cb54a0c0fb9 Mon Sep 17 00:00:00 2001 From: Leon Styhre Date: Mon, 25 Dec 2023 22:35:35 +0100 Subject: [PATCH] (Android) Added CMake configuration for the Lite release --- CMakeLists.txt | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index cdfd87f8a..0dda9b4cc 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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.