GDExtensionTemplate/gdextension/SConstruct
somebody_master fe90b92792
Separate headers from src and make the headers hpp
Signed-off-by: somebody_master <somebody_master@somebodyserver.mooo.com>
2023-03-08 22:46:49 +01:00

18 lines
409 B
Python

env = SConscript("godot-cpp/SConstruct")
env.Append(CPPPATH=["src/","include/"])
src = Glob("src/*.cpp")
headers = Glob("include/*.hpp")
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)