| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475 | :allow_comments: False.. _doc_compiling_index:Building from source====================.. highlight:: shellGodot prides itself on being very easy to build, by C++ project standards.:ref:`Godot uses the SCons build system <doc_faq_why_scons>`, and after the initialsetup compiling the engine for your current platform should be as easy as running:::    sconsBut you will probably need to use at least some of the available options to configurethe build to match your specific needs, be it a custom engine fork, a lightweight buildstripped of extra modules, or an executable targeting engine development.The articles below should help you navigate configuration options available, as well asprerequisites required to compile Godot exactly the way you need... rubric:: Basics of building Godot   :heading-level: 2Let's start with basics, and learn how to get Godot's source code, and then which optionsto use to compile it regardless of your target platform... toctree::   :maxdepth: 1   :name: toc-devel-compiling   getting_source   introduction_to_the_buildsystem.. rubric:: Building for target platforms   :heading-level: 2Below 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 platformthat doesn't match your current platform (say, target Linux while being on Windows). The guideswill 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   compiling_for_visionos   compiling_for_web   cross-compiling_for_ios_on_linux.. rubric:: Other compilation targets and options   :heading-level: 2Some additional universal compilation options require further setup. Namely, while Godotdoes have C#/.NET support as a part of its main codebase, it does not get compiled bydefault 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 alsocover some optimization techniques... toctree::   :maxdepth: 1   :name: toc-devel-compiling-options   compiling_with_dotnet   compiling_with_script_encryption_key   optimizing_for_size
 |