renamed dlscript module to gdnative

This commit is contained in:
Karroffel 2017-04-09 21:07:53 +02:00
parent 0198d2e03c
commit c7f8b22ba0
71 changed files with 2448 additions and 1300 deletions

14
modules/gdnative/SCsub Normal file
View file

@ -0,0 +1,14 @@
#!/usr/bin/env python
Import('env')
env.add_source_files(env.modules_sources, "*.cpp")
env.add_source_files(env.modules_sources, "godot/*.cpp")
env.Append(CPPFLAGS=['-DGDAPI_BUILT_IN'])
if "platform" in env and env["platform"] == "x11": # there has to be a better solution?
env.Append(LINKFLAGS=["-rdynamic"])
env.use_ptrcall = True
Export('env')