mirror of
https://github.com/Relintai/gdnative_cpp.git
synced 2024-12-25 14:07:10 +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)
|