Merge pull request #78 from unvermuthet/ditch-frameworks

This commit is contained in:
Patrick Exner (FlameLizard) authored and GitHub committed 2025-04-09 21:01:26 +02:00
commit 96a28e560d
7 files changed
+6 -387

No files matched your search

+2 -7
View File
@@ -54,19 +54,14 @@ if env["target"] in ["editor", "template_debug"]:
print("Not including class reference as we're targeting a pre-4.3 baseline.")
file = "{}{}{}".format(libname, env["suffix"], env["SHLIBSUFFIX"])
filepath = ""
if env["platform"] == "macos" or env["platform"] == "ios":
filepath = "{}.framework/".format(env["platform"])
file = "{}{}".format(libname, env["suffix"])
libraryfile = "bin/{}/{}{}".format(env["platform"], filepath, file)
libraryfile = "bin/{}/{}".format(env["platform"], file)
library = env.SharedLibrary(
libraryfile,
source=sources,
)
copy = env.InstallAs("{}/bin/{}/{}lib{}".format(projectdir, env["platform"], filepath, file), library)
copy = env.InstallAs("{}/bin/{}/lib{}".format(projectdir, env["platform"], file), library)
default_args = [library, copy]
Default(*default_args)