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