2023-02-05 13:37:24 +01:00
|
|
|
env = SConscript("godot-cpp/SConstruct")
|
|
|
|
|
2023-03-08 22:46:49 +01:00
|
|
|
env.Append(CPPPATH=["src/","include/"])
|
2023-02-05 13:37:24 +01:00
|
|
|
|
|
|
|
src = Glob("src/*.cpp")
|
2023-03-08 22:46:49 +01:00
|
|
|
headers = Glob("include/*.hpp")
|
2023-02-05 13:37:24 +01:00
|
|
|
|
|
|
|
if env["platform"] == "linux":
|
2023-02-17 00:08:59 +01:00
|
|
|
pass
|
2023-02-05 13:37:24 +01:00
|
|
|
elif env["platform"] == "windows":
|
|
|
|
pass
|
|
|
|
elif env["platform"] == "android":
|
2023-02-12 12:50:26 +01:00
|
|
|
pass
|
2023-02-16 22:02:01 +01:00
|
|
|
|
2023-02-17 00:08:59 +01:00
|
|
|
libpath = "../build/libtest{}{}".format( env["suffix"], env["SHLIBSUFFIX"] )
|
|
|
|
sharedlib = env.SharedLibrary(libpath, src)
|
2023-02-16 22:02:01 +01:00
|
|
|
Default(sharedlib)
|