18 lines
409 B
Python
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)
|