You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-13 13:31:48 +00:00
iOS Modules: separate main platform code from modules
Moved previously builtin modules 'GameCenter', 'AppStore', 'iCloud' to separate modules to be represented as plugin. Modified 'ARKit' and 'Camera' to not be builtin into engine and work as plugin. Changed platform code so it's not affected by the move. Modified Xcode project file to remove parameters that doesn't make any effect. Added basic '.gdip' plugin config file.
This commit is contained in:
@@ -35,9 +35,6 @@ def get_opts():
|
||||
" validation layers)",
|
||||
False,
|
||||
),
|
||||
BoolVariable("game_center", "Support for game center", True),
|
||||
BoolVariable("store_kit", "Support for in-app store", True),
|
||||
BoolVariable("icloud", "Support for iCloud", True),
|
||||
BoolVariable("ios_exceptions", "Enable exceptions", False),
|
||||
("ios_triple", "Triple for ios toolchain", ""),
|
||||
]
|
||||
@@ -222,18 +219,6 @@ def configure(env):
|
||||
]
|
||||
)
|
||||
|
||||
# Feature options
|
||||
if env["game_center"]:
|
||||
env.Append(CPPDEFINES=["GAME_CENTER_ENABLED"])
|
||||
env.Append(LINKFLAGS=["-framework", "GameKit"])
|
||||
|
||||
if env["store_kit"]:
|
||||
env.Append(CPPDEFINES=["STOREKIT_ENABLED"])
|
||||
env.Append(LINKFLAGS=["-framework", "StoreKit"])
|
||||
|
||||
if env["icloud"]:
|
||||
env.Append(CPPDEFINES=["ICLOUD_ENABLED"])
|
||||
|
||||
env.Prepend(
|
||||
CPPPATH=[
|
||||
"$IPHONESDK/usr/include",
|
||||
|
||||
Reference in New Issue
Block a user