You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Move godot-cpp custom bindings information to the 'build system' instructions from the intro doc, because most people won't need it for their first project.
Every branch of godot-cpp comes with an API file (``extension_api.json``) appropriate for
81
+
the respective Godot version (e.g. the ``4.3`` branch comes with the API file compatible
82
+
with Godot version ``4.3`` and later).
83
+
84
+
However, you may want to use a custom ``extension_api.json``, for example:
85
+
86
+
* If you want to use the latest APIs from Godot ``master``.
87
+
* If you :ref:`build Godot yourself <doc_compiling_index>` with different options than the official builds (e.g. ``disable_3d=yes`` or ``precision=double``).
88
+
* If you want to use APIs exposed by custom modules.
89
+
90
+
To use a custom API file, you first have to generate it from the appropriate Godot
91
+
executable:
92
+
93
+
.. code-block:: shell
94
+
95
+
godot --dump-extension-api
96
+
97
+
The resulting ``extension_api.json`` file will be created in the executable's
98
+
directory. To use it, you can add ``custom_api_file`` to your build command:
0 commit comments