GDExtensionTemplate/gdextension/SConstruct
somebody_master e5cfb30517
Commit inicial
Signed-off-by: somebody_master <somebody_master@somebodyserver.mooo.com>
2023-02-05 13:37:24 +01:00

13 lines
336 B
Python

env = SConscript("godot-cpp/SConstruct")
env.Append(CPPPATH="src/")
src = Glob("src/*.cpp")
if env["platform"] == "linux":
libpath = "../libtest{}{}".format( env["suffix"], env["SHLIBSUFFIX"] )
sharedlib = env.SharedLibrary(libpath, src)
elif env["platform"] == "windows":
pass
elif env["platform"] == "android":
pass