godot-cpp/test/SConstruct

17 lines
411 B
Python
Raw Normal View History

2020-11-28 09:05:00 +00:00
#!/usr/bin/env python
env = SConscript("../SConstruct")
2020-11-28 09:05:00 +00:00
# tweak this if you want to use different folders, or more folders, to store your source code in.
env.Append(CPPPATH=['src/'])
sources = Glob('src/*.cpp')
library = env.SharedLibrary(
"bin/libgdexample.{}.{}.{}{}".format(
env["platform"], env["target"], env["arch_suffix"], env["SHLIBSUFFIX"]
),
source=sources,
)
2020-11-28 09:05:00 +00:00
Default(library)