mirror of
https://github.com/godotengine/godot.git
synced 2024-11-23 20:53:15 +00:00
360dea5348
* Ability to create script languages from GDExtension * Some additions to gdnative_extension.h to make this happen * Moved the GDExtension binder to core This now allows creating scripting languages from GDExtension, with the same ease as if it was a module. It replaces the old PluginScript from Godot 3.x. Warning: GodotCPP will need to be updated to support this (it may be a bit of work as ScriptInstance needs to be created over there again).
14 lines
299 B
Python
14 lines
299 B
Python
#!/usr/bin/env python
|
|
|
|
Import("env")
|
|
|
|
import make_wrappers
|
|
from platform_methods import run_in_subprocess
|
|
|
|
env.CommandNoCache(["ext_wrappers.gen.inc"], "make_wrappers.py", run_in_subprocess(make_wrappers.run))
|
|
|
|
|
|
env_extension = env.Clone()
|
|
|
|
env_extension.add_source_files(env.core_sources, "*.cpp")
|