GDExtensionTemplate/gdextension/SConstruct
somebody_master 47e3da4918
Arreglar la compilación de la librería
Signed-off-by: somebody_master <somebody_master@somebodyserver.mooo.com>
2023-02-12 12:50:26 +01:00

15 lines
360 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)
Default(sharedlib)
elif env["platform"] == "windows":
pass
elif env["platform"] == "android":
pass