Adapt Android mobile controls and native client UI
This commit is contained in:
Vendored
+5
-5
@@ -1,9 +1,9 @@
|
||||
# extension/third_party — vendored native dependencies for the GDExtension.
|
||||
# Vendored native dependencies for the 40250 port and SDL/Vulkan client.
|
||||
#
|
||||
# Phase 1 (macOS) used Homebrew for libsodium / libzstd / liblzo2. Those don't
|
||||
# exist on the Android NDK or iOS SDK sysroots, so the mobile bring-up (BACKLOG
|
||||
# F1/F2) needs them built from source as part of our own build. All three are
|
||||
# pinned here and produce static libs that link into libmtgodot:
|
||||
# pinned here and produce static libraries for port_platform:
|
||||
#
|
||||
# sodium <- libsodium-cmake submodule (wraps jedisct1/libsodium)
|
||||
# libzstd_static <- facebook/zstd submodule, its own build/cmake project
|
||||
@@ -13,7 +13,7 @@
|
||||
# GPL: fine for this internal, non-published project — same footing as
|
||||
# libgr2/src/oodle1.c — but must be swapped or re-licensed before any release.
|
||||
|
||||
# Everything here is archived into the SHARED libmtgodot, so it must be PIC.
|
||||
# Android links these static libraries into libmain.so, so they must be PIC.
|
||||
set(CMAKE_POSITION_INDEPENDENT_CODE ON)
|
||||
|
||||
# --- libsodium ------------------------------------------------------------------
|
||||
@@ -57,7 +57,7 @@ if(WIN32)
|
||||
else()
|
||||
set(MT_EMBED_PYTHON_DEFAULT ON)
|
||||
endif()
|
||||
option(MTGODOT_EMBED_PYTHON "Build the embedded CPython 2.7.18 static library" ${MT_EMBED_PYTHON_DEFAULT})
|
||||
if(MTGODOT_EMBED_PYTHON)
|
||||
option(MT_EMBED_PYTHON "Build the embedded CPython 2.7.18 static library" ${MT_EMBED_PYTHON_DEFAULT})
|
||||
if(MT_EMBED_PYTHON)
|
||||
add_subdirectory(cpython-2.7.18)
|
||||
endif()
|
||||
|
||||
Reference in New Issue
Block a user