Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

From-source Godot #9

Open
snoopdouglas opened this issue Dec 16, 2024 · 0 comments
Open

From-source Godot #9

snoopdouglas opened this issue Dec 16, 2024 · 0 comments

Comments

@snoopdouglas
Copy link
Member

snoopdouglas commented Dec 16, 2024

Implement building Godot from source. There are a few considerations here:

  • This'll replace the download+install step we currently use for official builds.
  • We'll almost certainly want to do this in a container, and probably with a separate image to the exporter.
  • People will often be following this guide.
    • So, strip should be available.
    • Changing build flags should be available.
  • People will often be using the engine compilation configuration editor, so perhaps a shortcut should be provided to produce a build with just that config (using the official repo).
    • So, we'll want to provide the option to only use the from-source build when exporting.
    • In this case we'll definitely need the export templates built, and possibly the editor too.
  • Option to checkout any ref on the official repo, or checkout a custom repo + ref.
  • Option to use some other repo on local disk.
  • Like with Option to use an arbitary local Godot #10, if the project wants to use packaging with a from-source Godot build, the project will need to tell Gobbo what the equivalent official version of Godot is - unless we can deduce it.

Sample configs

Build the official 4.3 release yourself for some reason:

[godot.src]
ref = "4.3-stable"

Edge Godot:

[godot.src]
ref = "main"

Use the fallback text server:

[godot.src]
ref = "4.3-stable"
flags = {
    module_text_server_adv_enabled = "no"
    module_text_server_fb_enabled = "yes"
}

Use a compilation config:

[godot.src]
ref = "4.3-stable"
config = "godot.build" # Path relative to gobbo.toml

Use a local repo:

[godot.src]
local = "/path/to/repo"
# Do we want to allow specifying a ref for checkout or is that insane?
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant