GDExtensionTemplate/gdextension/SConstruct
somebody_master a617fce3a3
Use the same structure for the libraries
Signed-off-by: somebody_master <somebody_master@somebodyserver.mooo.com>
2023-02-17 00:08:59 +01:00

17 lines
364 B
Python

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