Skip to content

Conversation

@adamscott
Copy link
Member

We already tell users to use --headless to generate the glue. This PR make it so that we use --headless in the examples.

Generate the glue
-----------------
Parts of the sources of the managed libraries are generated from the ClassDB.
These source files must be generated before building the managed libraries.
They can be generated by any .NET-enabled Godot editor binary by running it with
the parameters ``--headless --generate-mono-glue`` followed by the path to an
output directory.
This path must be ``modules/mono/glue`` in the Godot directory::
<godot_binary> --headless --generate-mono-glue modules/mono/glue

@adamscott adamscott added topic:dotnet area:engine details Issues and PRs related to the Engine Details section of the documentation topic:buildsystem cherrypick:4.0 cherrypick:4.1 enhancement labels Nov 11, 2023
@adamscott adamscott modified the milestone: 4.x Nov 11, 2023
Copy link
Member

@AThousandShips AThousandShips left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Makes sense, and matches what we do in CI so works well

@mhilbrunner mhilbrunner merged commit fa7af7a into godotengine:master Nov 11, 2023
@mhilbrunner
Copy link
Member

Thanks! Merged. :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:engine details Issues and PRs related to the Engine Details section of the documentation cherrypick:4.0 cherrypick:4.1 enhancement topic:buildsystem topic:dotnet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants