GDExtensionTemplate/gdextension/SConstruct
somebody_master fe7d0893a3
Cambiar la ruta de compilación de scons
Signed-off-by: somebody_master <somebody_master@somebodyserver.mooo.com>
2023-02-16 22:02:01 +01:00

16 lines
363 B
Python

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