[GDExtension] Add missing iOS instructions and build/config example code.

This commit is contained in:
bruvzg
2024-08-15 23:43:05 +03:00
committed by Max Hilbrunner
parent 47327606b0
commit c14a6216e8
2 changed files with 33 additions and 0 deletions

View File

@@ -23,6 +23,17 @@ if env["platform"] == "macos":
),
source=sources,
)
elif env["platform"] == "ios":
if env["ios_simulator"]:
library = env.StaticLibrary(
"demo/bin/libgdexample.{}.{}.simulator.a".format(env["platform"], env["target"]),
source=sources,
)
else:
library = env.StaticLibrary(
"demo/bin/libgdexample.{}.{}.a".format(env["platform"], env["target"]),
source=sources,
)
else:
library = env.SharedLibrary(
"demo/bin/libgdexample{}{}".format(env["suffix"], env["SHLIBSUFFIX"]),