mirror of
https://github.com/godotengine/godot.git
synced 2024-12-09 10:09:20 +08:00
534d62d2f4
This adds GDNative as a separate class type. It can be used to interface with native libraries by using "native calls", which can be registered by modules (and in future other GDNative libraries?). It also reworks the currently called "GDNativeScript" into a "NativeScript" that just makes use of the new GDNative instead of it being the component that implements that functionality.
11 lines
224 B
Python
11 lines
224 B
Python
#!/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'])
|
|
|
|
Export('mod_env')
|