mirror of
https://github.com/stan220/godot-docs.git
synced 2026-09-08 18:29:11 +00:00
This allows users to leave comments on pages that don't have `:allow_comments: False` somewhere in the page's source. Both manual and class reference pages can receive comments. Index pages cannot have comments, as discussion should occur on "leaf" pages. GitHub Discussions is used as a backend on the same repository. This means that Discussions *must* be enabled on godotengine/godot-docs before this commit is merged to `master`. Users can choose to use the "Custom" watch mode if they don't want to get notifications for discussion updates, but still get notifications for issue and pull request updates. User comments are intended to be used for the following purposes: - Add a clarification or correct something in the documentation, without having to open a pull request. Contributors are encouraged to take a look at discussions from time to time, and see if there's information worth incorporating in the pages themselves. Don't forget to reply to the comment when doing so :) - Mention a workaround for a common issue. - Link to useful third-party resources that are relevant to the current page, such as tutorials or add-ons. User comments should *not* be used for technical support. Other community platforms should be used for that. Page-to-discussion matching is done using the `pagename` Sphinx variable, which is independent of the Godot version and documentation language. Being independent of the Godot version allows keeping old comments when the Godot version changes, while also allowing users from `/stable` and `/4.1` to "see" each other in discussions. See https://giscus.app for more information.
71 lines
2.3 KiB
ReStructuredText
71 lines
2.3 KiB
ReStructuredText
:allow_comments: False
|
|
|
|
Building from source
|
|
====================
|
|
|
|
.. highlight:: shell
|
|
|
|
Godot prides itself on being very easy to build, by C++ projects' standards.
|
|
:ref:`Godot uses the SCons build system <doc_faq_why_scons>`, and after the initial
|
|
setup compiling the engine for your current platform should be as easy as running::
|
|
|
|
scons
|
|
|
|
But you will probably need to use at least some of the available options to configure
|
|
the build to match your specific needs, be it a custom engine fork, a lightweight build
|
|
stripped of extra modules, or an executable targetting engine development.
|
|
|
|
The articles below should help you navigate configuration options available, as well as
|
|
prerequisites required to compile Godot exactly the way you need.
|
|
|
|
Basics of building Godot
|
|
------------------------
|
|
|
|
Let's start with basics, and learn how to get Godot's source code, and then which options
|
|
to use to compile it regardless of your target platform.
|
|
|
|
.. toctree::
|
|
:maxdepth: 1
|
|
:name: toc-devel-compiling
|
|
|
|
getting_source
|
|
introduction_to_the_buildsystem
|
|
|
|
Building for target platforms
|
|
-----------------------------
|
|
|
|
Below you can find instructions for compiling the engine for your specific target platform.
|
|
Note that Godot supports cross-compilation, which means you can compile it for a target platform
|
|
that doesn't match your current platform (say, target Linux while being on Windows). The guides
|
|
will try their best to cover all possible situations.
|
|
|
|
.. toctree::
|
|
:maxdepth: 1
|
|
:name: toc-devel-compiling-platforms
|
|
|
|
compiling_for_windows
|
|
compiling_for_linuxbsd
|
|
compiling_for_macos
|
|
compiling_for_android
|
|
compiling_for_ios
|
|
cross-compiling_for_ios_on_linux
|
|
compiling_for_web
|
|
|
|
Other compilation targets and options
|
|
-------------------------------------
|
|
|
|
Some additional universal compilation options require further setup. Namely, while Godot
|
|
does have C#/.NET support as a part of its main codebase, it does not get compiled by
|
|
default to reduce the executable size for users who don't need C# for their projects.
|
|
|
|
Articles below explain how to configure the buildsystem for cases like this, and also
|
|
cover some optimization techniques.
|
|
|
|
.. toctree::
|
|
:maxdepth: 1
|
|
:name: toc-devel-compiling-options
|
|
|
|
compiling_with_dotnet
|
|
compiling_with_script_encryption_key
|
|
optimizing_for_size
|