254 Commits
Author SHA1 Message Date
Hugo Locurcio 201dba1df0 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-26 22:29:12 +01:00
TuxTheAstronaut 4c0a92f8e8 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:18:23 +02:00
Rémi Verschelde 18e126af58 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:18:23 +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
DeeJayLSPandMax Hilbrunner 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
DeeJayLSPandHugo Locurcio 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 2a209a065e2b7d1f2a334c75101d0466b7f93184)
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
nikitalitaandHugo Locurcio 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
Adam Nash 317c229472 Add libstdc++-static to Fedora pre-compile one-liner (#4695)
This was required to compile version 3.2 on Fedora 33.

This might apply to other versions but I'm not sure.
2021-02-28 19:06:55 +01:00
Fredia Huya-Kouadio 4c781b9849 Update instructions for compiling for Android 2021-02-22 08:07:25 -08:00
Hugo Locurcio df80e201b6 Discourage using Linux distribution packages for Android SDKs (#4636)
See https://github.com/godotengine/godot/issues/45844.
2021-02-13 02:12:42 +01:00
Rémi Verschelde 973cf89f94 Merge branch 'master' into 3.2 2020-09-22 08:59:08 +02:00
Hugo Locurcio 2738f4fe1f Clarify that the JavaScript singleton is available in official templates 2020-09-20 15:55:40 +02:00
bruvzg ffe7ad0ee9 Optimize PCK encryption screenshot (#4033) 2020-09-18 15:37:23 +02:00