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