Skip to content

gdextwiz

la.panon. edited this page Dec 22, 2024 · 7 revisions

This content may differ from the most recent version. Please refer to the gdextwiz help message for more accurate documentation.

Term descriptions

bootstrap.nim

This file is the entry point for GDExtension. Specifies the classes to be registered with the engine, and building it generates the dynamic library that is the body of GDExtension.

Command descriptions

gdextwiz new-extension

Generate GDExtension project template.
If you understand how the GDExtension works and know what options you need to tell the nim compiler to do so, there is no need to use it.

gdextwiz build

A command to compile a bootstrap.nim found by traversing upward from the current directory.
If project.godot is found instead of bootstrap.nim, build-all is called.

gdextwiz build-all

A command to search a project.godot from current dir to '/' and compile all bootstrap.nim under it.

gdextwiz editor

A command to search a project.godot from current dir to '/' and exec godot --editor.

gdextwiz run

Same as gdextwiz build && godot; however if .godot/ is missing, run-editor will be executed instead.

gdextwiz run-editor

Same as gdextwiz build && gdextwiz editor.