-
-
Notifications
You must be signed in to change notification settings - Fork 67
README: Improved build and usage instructions. #75
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
base: master
Are you sure you want to change the base?
Conversation
README.md
Outdated
4. [Build godot for iOS target](https://docs.godotengine.org/en/stable/contributing/development/compiling/compiling_for_ios.html). `scons platform=ios target=editor` | ||
|
||
|
||
5. Run plugin creation script. This step need to be repeated for each of the plugins you want to use. Go to the root of this repository then run `./scripts/generate_xcframework.sh <plugin_name> <debug|release|release_debug> 4.0`. The result will be an xcframework in bin directory. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
5. Run plugin creation script. This step need to be repeated for each of the plugins you want to use. Go to the root of this repository then run `./scripts/generate_xcframework.sh <plugin_name> <debug|release|release_debug> 4.0`. The result will be an xcframework in bin directory. | |
5. Run the plugin creation script. This step needs to be repeated for each of the plugins you want to use. Go to the root of this repository then run `./scripts/generate_xcframework.sh <plugin_name> <debug|release|release_debug> 4.4`. The result will be an xcframework in bin directory. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
See scons configuration file, the two options are 3.x
and 4.0
.
README.md
Outdated
|
||
You don't have to wait for full engine compilation, as header files are generated first. | ||
Once the actual compilation starts, you can stop this command by pressing <kbd>Ctrl + C</kbd>. | ||
1. After cloning this repository, go to `godot` submodule and checkout the tag of the engine version you are working with. For example `4.3-stable`. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
git switch
is preferred over git checkout
nowadays, as it avoids the ambiguity of git checkout
also being able to work as git restore
:
1. After cloning this repository, go to `godot` submodule and checkout the tag of the engine version you are working with. For example `4.3-stable`. | |
1. After cloning this repository, go to `godot` submodule and switch to the tag of the engine version you are working with. For example, `git switch 4.4-stable`. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's a tag so should be "git checkout" and not "switch".
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me on the surface. Should be good to merge after applying the formatting fixes I suggested.
Co-authored-by: Hugo Locurcio <[email protected]>
I applied the suggestions except two changes I commented about. |
Co-authored-by: Hugo Locurcio <[email protected]>
After tinkering with it, took me some time to make it working. Hope these clarifications in the docs will save others some time.