|
@@ -41,17 +41,17 @@ if(NOT CMAKE_BUILD_TYPE)
|
|
|
set_property(CACHE CMAKE_BUILD_TYPE PROPERTY STRINGS Debug Release RelWithDebInfo)
|
|
set_property(CACHE CMAKE_BUILD_TYPE PROPERTY STRINGS Debug Release RelWithDebInfo)
|
|
|
endif()
|
|
endif()
|
|
|
|
|
|
|
|
-set(qtParts ON)
|
|
|
|
|
set(staticAI OFF)
|
|
set(staticAI OFF)
|
|
|
if(ANDROID)
|
|
if(ANDROID)
|
|
|
- set(qtParts OFF)
|
|
|
|
|
set(staticAI ON)
|
|
set(staticAI ON)
|
|
|
endif()
|
|
endif()
|
|
|
|
|
|
|
|
option(ENABLE_ERM "Enable compilation of ERM scripting module" OFF)
|
|
option(ENABLE_ERM "Enable compilation of ERM scripting module" OFF)
|
|
|
option(ENABLE_LUA "Enable compilation of LUA scripting module" OFF)
|
|
option(ENABLE_LUA "Enable compilation of LUA scripting module" OFF)
|
|
|
-option(ENABLE_LAUNCHER "Enable compilation of launcher" ${qtParts})
|
|
|
|
|
-option(ENABLE_EDITOR "Enable compilation of map editor" ${qtParts})
|
|
|
|
|
|
|
+if(NOT ANDROID)
|
|
|
|
|
+ option(ENABLE_LAUNCHER "Enable compilation of launcher" ON)
|
|
|
|
|
+ option(ENABLE_EDITOR "Enable compilation of map editor" ON)
|
|
|
|
|
+endif()
|
|
|
option(ENABLE_TRANSLATIONS "Enable generation of translations for launcher and editor" ON)
|
|
option(ENABLE_TRANSLATIONS "Enable generation of translations for launcher and editor" ON)
|
|
|
option(ENABLE_NULLKILLER_AI "Enable compilation of Nullkiller AI library" ON)
|
|
option(ENABLE_NULLKILLER_AI "Enable compilation of Nullkiller AI library" ON)
|
|
|
|
|
|