2017-07-14 01:44:14 +02:00
|
|
|
#!/usr/bin/env python
|
|
|
|
|
|
|
|
Import('env')
|
|
|
|
|
|
|
|
mod_env = env.Clone()
|
|
|
|
mod_env.add_source_files(env.modules_sources, "*.cpp")
|
|
|
|
mod_env.Append(CPPPATH='#modules/gdnative')
|
|
|
|
mod_env.Append(CPPFLAGS=['-DGDAPI_BUILT_IN'])
|
|
|
|
|
2017-09-04 15:10:03 +02:00
|
|
|
if "platform" in env and env["platform"] in ["x11", "iphone"]:
|
|
|
|
env.Append(LINKFLAGS=["-rdynamic"])
|
|
|
|
|
2017-07-14 01:44:14 +02:00
|
|
|
Export('mod_env')
|