mirror of
https://github.com/Relintai/gdnative_cpp.git
synced 2024-11-22 11:10:01 +01:00
17 lines
411 B
Python
17 lines
411 B
Python
#!/usr/bin/env python
|
|
|
|
env = SConscript("../SConstruct")
|
|
|
|
# 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,
|
|
)
|
|
|
|
Default(library)
|