virtualx-engine/modules/gdnative/nativescript/SCsub
2017-10-17 10:50:13 +02:00

12 lines
284 B
Python

#!/usr/bin/env python
Import('env')
mod_env = env.Clone()
mod_env.add_source_files(env.modules_sources, "*.cpp")
mod_env.Append(CPPFLAGS=['-DGDAPI_BUILT_IN'])
if "platform" in env and env["platform"] in ["x11", "iphone"]:
env.Append(LINKFLAGS=["-rdynamic"])
Export('mod_env')