mirror of
https://github.com/godotengine/godot.git
synced 2024-11-27 09:16:35 +08:00
be1c9d677d
Non-exhaustive list of case-sensitive renames: GDExtension -> GDNative GDNATIVE -> GDEXTENSION gdextension -> gdnative ExtensionExtension ->Extension (for where there was GDNativeExtension) EXTENSION_EXTENSION ->EXTENSION (for where there was GDNATIVE_EXTENSION) gdnlib -> gdextension gdn_interface -> gde_interface gdni -> gde_interface
19 lines
500 B
Python
19 lines
500 B
Python
#!/usr/bin/env python
|
|
|
|
Import("env")
|
|
|
|
import make_wrappers
|
|
import make_interface_dumper
|
|
from platform_methods import run_in_subprocess
|
|
|
|
env.CommandNoCache(["ext_wrappers.gen.inc"], "make_wrappers.py", run_in_subprocess(make_wrappers.run))
|
|
env.CommandNoCache(
|
|
"gdextension_interface_dump.gen.h",
|
|
["gdextension_interface.h", "make_interface_dumper.py"],
|
|
run_in_subprocess(make_interface_dumper.run),
|
|
)
|
|
|
|
env_extension = env.Clone()
|
|
|
|
env_extension.add_source_files(env.core_sources, "*.cpp")
|