260 Commits

Author SHA1 Message Date
Max Hilbrunner
32a40410ec Merge pull request #11226 from Calinou/compiling-exporting-android-jdk-17-3.6
[3.6] Update required JDK version to 17 in Exporting/Compiling for Android
2025-08-23 13:18:44 +02:00
Hugo Locurcio
47c8938f7f Update required JDK version to 17 in Exporting/Compiling for Android
- Recommend Adoptium for OpenJDK builds on both locations for consistency.
2025-08-22 19:46:35 +02:00
Hugo Locurcio
02169a423f Fix WebAssembly threads/GDNative ZIP names in Compiling for the Web
The correct names are those used in the commands.
2025-01-20 17:58:23 +01:00
Hugo Locurcio
0eddd367ec Document using Pyston-lite for faster builds on macOS 2024-09-10 13:45:03 +02:00
MJacred
7ca55880df Compiling for x11: use linker=lld
`use_lld` boolean option has been replaced by `linker=<default|bfd|gold|lld|mold>`
2023-09-05 18:58:31 +02:00
Hugo Locurcio
b169cc2a4a Update SCons link-time optimization option for 3.5 and later 2023-06-30 12:58:08 +02:00
Hugo Locurcio
87b8d7a061 Remove most mentions of SCons -j parameter as it's now set automatically
The Introduction to the buildsystem page still mentions this parameter
in case it needs to be changed, but in most situations, the default
value of `(number of CPU threads) - 1` does a good job.
2023-01-25 19:40:35 +01:00
TuxTheAstronaut
d3ab337a33 Add missing dependincies like Alsa and Pulseaudio to Alpine linux one-liner
adds "eudev-dev", "alsa-lib-dev", and "pulseaudio-dev" to the list of dependency's to install for alpine Linux to get the editor to compile and audio to work on both godot 4 and 3.x

(cherry picked from commit 76b6c83ff5)
2022-09-09 15:17:37 +02:00
Rémi Verschelde
0cc1cc84c5 Compiling for Windows: Clarify that VS is Windows only (#5970)
Co-authored-by: Yuri Sizov <11782833+YuriSizov@users.noreply.github.com>
(cherry picked from commit 1f499d5d4b)
2022-09-09 15:17:37 +02:00
Rémi Verschelde
f13755a65b Merge pull request #6040 from Calinou/compiling-linuxbsd-alpine-add-mesa-dependency
(cherry picked from commit 05ac649c25)
2022-08-08 20:36:24 +02:00
Hugo Locurcio
6f898a7337 Improve the Compiling with script encryption key page 2022-07-13 20:15:12 +02:00
Marius Wachtler
353278531c Always point to latest Pyston release on Compiling for Linux/*BSD (#5867) 2022-06-09 17:06:40 +02:00
Rémi Verschelde
94a7f0b421 Compiling with Mono: Update path to generated C# solutions
(cherry picked from commit c5a84c7e91)
2022-04-29 14:03:32 +02:00
Hugo Locurcio
003c8abd3f Cross-reference compiling and exporting pages, rename OSX/Mac to macOS
There's a lot of confusion between compiling Godot and exporting projects.

This aims to resolve part of the confusion by cross-linking other pages
for each platform.

(cherry picked from commit 955c97bb1d)
2022-04-29 14:01:55 +02:00
Rémi Verschelde
3d1e53308d Compiling for Windows: Improve setup instructions
(cherry picked from commit 13e3a1985e)
2022-04-29 13:41:29 +02:00
Rémi Verschelde
c3de525495 Compiling: Reference doc_getting_source in all platform-specific pages
(cherry picked from commit 26dd787ec0)
2022-04-29 13:41:02 +02:00
Hugo Locurcio
53c0fa893d Fix and improve Pyston instructions in Compiling for Linux, *BSD
- Fix SCons path to match Pyston 2.3.2's portable archive.
- Use a symbolic link instead of a wrapper script, which works the same.

(cherry picked from commit 1399f7bac3)
2022-03-11 14:22:57 +01:00
Hugo Locurcio
a3b6487ea2 Document using Pyston to speed up builds on Linux
(cherry picked from commit 917c1be9e8)
2022-03-11 14:22:57 +01:00
Markus Sauermann
551f47fe7a Get rid of openssl warning during PCK encryption setup (#5568) 2022-01-28 23:57:46 +01:00
skyace65
fc85359769 List advanced gui objects (3.4) 2022-01-25 18:54:42 -05:00
Rémi Verschelde
3cb7be03de Fix invalid ref to doc_using_cpp_profilers
(cherry picked from commit c02ac91716)
2021-12-21 17:07:59 +01:00
Hugo Locurcio
b5d71ca030 Rework the Optimizing for size page
- Order options from most important to least important.
- Give estimates on space saved for each option.
- Clarify the benefits of stripping binaries.
- Link to the Godot build options generator in the Overriding build
  options link instead of linking it in the Optimizing for size page.

(cherry picked from commit 8a95663768)
2021-12-21 16:16:15 +01:00
Dennis Ploeger
20c0ff78a3 Fix incorrect export template path in Compiling for macOS (#5425) 2021-12-03 15:06:48 +01:00
Hugo Locurcio
2864ab4f65 Improve grammar in SCons installation in Compiling on Windows 2021-11-17 01:06:29 +01:00
Matteo Piovanelli
30943724ec Fix instructions for installing SCons on Windows
Updated the instruction for installing SCons on Windows 10 with Python 3.10, as described in #5341
2021-11-17 01:06:23 +01:00
Hugo Locurcio
83cf212c99 Add libatomic-static dependency for Fedora in Compiling for Linux, *BSD 2021-11-07 19:24:03 +01:00
Hugo Locurcio
3567542ce6 Document compiling a debug server build
A debug server build is lighter than an editor headless build,
but still allows debugging tools to be used.
2021-11-02 00:56:36 +01:00
Rémi Verschelde
50791ec816 Compiling for Windows: Remove yasm dep, causes WebM crash 2021-10-18 15:41:15 +02:00
Marcel Admiraal
b54bf231b6 Update Compiling for Android JDK version specification 2021-10-15 15:34:17 +02:00
Hugo Locurcio
f40721f9e3 Don't disable WebP when compiling small binaries in Optimizing for size
WebP decoding is now required in pretty much any project since Godot 3.4
(unless you force PNG for lossless textures in the Project Settings).

Therefore, it's not a good idea to recommend disabling it for most
people. Not to mention the added binary size will be outweighted by
the smaller lossless WebPs most of the time.
2021-10-15 15:10:22 +02:00
developer
ac03b6faf6 Use pip3 instead of pip 2021-08-31 01:13:28 +02:00
Hugo Locurcio
c9b998492b Document that compiling a binary with Clang on Linux adds a .llvm suffix
This can result in people running old binaries unexpectedly, so it's
important to mention this suffix.
2021-08-30 18:00:36 +02:00
Matthew
7d45143c20 Remove reference to xbuild in Compiling with Mono (#5201) 2021-08-27 14:36:03 +02:00
Herrum
18af33eaf2 Fixed a typo in 'Compiling with Mono' in the second sentence where 'Authorities' was spelled as 'Autorities'.
(cherry picked from commit 5fa12ab385)
2021-07-22 21:08:37 +02:00
Rémi Verschelde
e2b95576d8 Cleanup uses of double spaces between words or after punctuation 2021-07-13 00:44:58 +02:00
DeeJayLSP
fce69bce1c Getting source: Add --depth 1 arguments (#4994)
* Getting source: Add --depth 1 arguments

The whole commit history isn't needed to compile the engine, which is the context of this docs page, so mention the way to avoid cloning all of it.

Also I've changed the second ``--branch`` argument to ``-b`` so the line wouldn't get out of bounds.

Co-authored-by: Max Hilbrunner <mhilbrunner@users.noreply.github.com>
2021-07-13 00:16:57 +02:00
Leroy Hopson
c79ae5032f Fix typo in Compiling for Web: add missing '.' to file extension (#4997) 2021-06-15 18:41:29 +02:00
Lord-Dorogoth
30bf0055ff Update SCons package for FreeBSD in Compiling for Linux, *BSD (#4939)
This was an issue on nomadbsd (basically just usb only freebsd).
2021-05-27 21:06:35 +02:00
Hugo Locurcio
fa7fc1e037 Add Windows PowerShell example in Compiling with PCK encryption key
(cherry picked from commit 6de096dd83)
2021-05-18 12:21:20 +02:00
Rémi Verschelde
8d0025de6c Compiling: Add instructions for macOS templates
Fixes #3194.

(cherry picked from commit f2ad006c37)
2021-05-18 12:21:08 +02:00
Aaron Franke
0adb4ababa Bump required Mono version to 6.12
(cherry picked from commit 673aa368cc)
2021-05-18 12:19:20 +02:00
allkhor
7621eb8d12 Update build-tools to 30.0.3 2021-04-27 11:54:59 +06:00
Jason Liu
9c1ef1f8f6 Add macOS instructions for MacPorts to go alongside Homebrew (#4827) 2021-04-09 22:29:51 +02:00
DeeJayLSP
413a3a5409 Add information on cloning a Git branch/tag directly (#4800)
Co-authored-by: Hugo Locurcio <hugo.locurcio@hugo.pro>
2021-03-31 21:45:17 +02:00
Fabio Alessandrelli
e4e9cfacf0 Update compiling for the Web.
Bump emscripten requirements, mention threads, gdnative and editor
build.

(cherry picked from commit 2a209a065e)
2021-03-31 18:16:38 +02:00
Rémi Verschelde
0b715e3321 Merge pull request #4522 from m4gr3d/update_android_build_instructions_3_2
[3.3] Update instructions for compiling for Android
2021-03-31 10:23:46 +02:00
Rémi Verschelde
c52286a42a Remove 3.2.x notes not needed in the 3.3 branch 2021-03-19 14:11:10 +01:00
Hugo Locurcio
514b30c8c4 Recommend adding Godot folder to AV exceptions in Compiling for Windows (#4736) 2021-03-13 19:39:24 +01:00
Rev
5f29b92c72 Correct LTO RAM usage in compiling instructions (#4710) 2021-03-03 16:04:07 +01:00
nikitalita
c465fcd7c7 Clarify that MSVC build shell requirements (#4701)
Co-authored-by: Hugo Locurcio <hugo.locurcio@hugo.pro>
2021-03-03 00:01:47 +01:00