INNER CODE UNIT · Python
render_gdextension
JetBrains/godot-support · godot-rd/godot_cpp_gen_main.py:77
def render_gdextension(version: str) -> str:
return f'''; Generated by godot_cpp_gen_main.py from godot_version.bzl. Do not edit by hand.
; Regenerate with:
; python3 godot_cpp_gen_main.py --regenerate-metadata
[configuration]
entry_symbol = "dynamic_entry"
compatibility_minimum = "{version}"
reloadable = true
[libraries]
; Relative paths ensure that our GDExtension can be placed anywhere in the project directory.
macos.arm64.single.debug = "./macos/godot-rd.macos.arm64.dylib"
macos.x86_64.single.debug = "./macos/godot-rd.macos.x86_64.dylib"
windows.x86_64.single.debug = "./windows/godot-rd.windows.x86_64.dll"
windows.arm64.single.debug = "./windows/godot-rd.windows.arm64.dll"