mirror of
https://github.com/godotengine/godot-docs.git
synced 2026-01-04 14:11:02 +03:00
Merge pull request #8084 from bferguson3/master
Update gdextension_cpp_example.rst (Clarification rwt dump extension API)
This commit is contained in:
committed by
Max Hilbrunner
parent
6a5726712e
commit
3a846b7114
@@ -100,11 +100,11 @@ call the Godot executable:
|
||||
|
||||
.. code-block:: none
|
||||
|
||||
godot --dump-extension-api extension_api.json
|
||||
godot --dump-extension-api
|
||||
|
||||
Place the resulting ``extension_api.json`` file in the project folder and add
|
||||
``custom_api_file=<PATH_TO_FILE>`` to the scons command
|
||||
below.
|
||||
The resulting ``extension_api.json`` file will be created in the executable's
|
||||
directory. Copy it to the project folder and add ``custom_api_file=<PATH_TO_FILE>``
|
||||
to the scons command below.
|
||||
|
||||
To generate and compile the bindings, use this command (replacing ``<platform>``
|
||||
with ``windows``, ``linux`` or ``macos`` depending on your OS):
|
||||
|
||||
Reference in New Issue
Block a user