summaryrefslogtreecommitdiffstats
path: root/tools
Commit message (Collapse)AuthorAgeFilesLines
* Merge commit godotengine/godot-cpp@c20a84e483ec61c77e5903cb4a139f6875e28a3bSpartan3222024-11-128-0/+69
|\
| * Merge pull request #1601 from Ivorforce/ltoDavid Snopek2024-11-128-0/+69
| |\ | | | | | | Add lto scons option
| | * Add lto scons option, defaulting to "none".Lukas Tenbrink2024-11-128-0/+69
| | |
* | | Rebrand godot-cpp to redot-cppSpartan3222024-10-311-2/+2
|/ /
* | Merge pull request #1611 from Repiteo/library-no-cacheDavid Snopek2024-10-151-0/+1
|\ \ | | | | | | SCons: Don't cache libraries
| * | SCons: Don't cache librarysThaddeus Crews2024-09-301-0/+1
| | |
* | | Merge pull request #1602 from Faless/build/use_clang_cl_is_use_llvmDavid Snopek2024-10-031-3/+2
|\ \ \ | |/ / |/| | [SCons] Remove use_clang_cl windows flag in favor of generic use_llvm
| * | [SCons] Remove use_clang_cl windows flag in favor of generic use_llvmFabio Alessandrelli2024-09-221-3/+2
| |/ | | | | | | This is consistent with Godot upstream.
* / [SCons] Enable WASM_BIGINT in web buildsFabio Alessandrelli2024-09-231-0/+4
|/ | | | | | Required since Godot 4.3, which is also the first Godot version with wide WASM gdnative support (previous versions were Chrome-only, and very brittle).
* Merge pull request #1535 from bruvzg/llvm-mingw-arm64David Snopek2024-09-102-8/+48
|\ | | | | Add support for LLVM/MinGW and ARM64 Windows builds.
| * Add support for LLVM/MinGW and ARM64 Windows builds.bruvzg2024-08-122-8/+48
| |
* | [Web/SCons] Use CCFLAGS for SIDE_MODULE optionFabio Alessandrelli2024-08-241-1/+1
|/ | | | | | | | | Was using CPPFLAGS, but should use the explicit scons CCFLAGS which makes it clear they are applied to both the C and C++ compiler. CPPFLAGS was also fine (they are preprocessor flags, also applied to both C and C++), but we should try to stay consistent with what we do in Godot.
* SCons: Remove old Python 2 compat codeRémi Verschelde2024-07-181-13/+3
|
* Merge pull request #1507 from Repiteo/silence-msvcDavid Snopek2024-06-251-0/+69
|\ | | | | SCons: Add `silence_msvc` option for Windows
| * SCons: Add `silence_msvc` optionThaddeus Crews2024-06-251-0/+69
| |
* | Integrate `.pre-commit-config.yaml`Thaddeus Crews2024-06-249-18/+18
|/
* Merge pull request #1489 from Faless/web/longjmpDavid Snopek2024-06-171-4/+8
|\ | | | | [Web] Force emcc to use "wasm" longjmp mode
| * [Web] Force emcc to use "wasm" longjmp modeFabio Alessandrelli2024-06-141-4/+8
| | | | | | | | | | | | | | | | | | | | SUPPORT_LONGJMP have changed since emscripten 3.1.32 to default to "wasm" mode when exceptions are enabled, and "emscripten" mode when disabled. While we generally doesn't use exception in core, linked libraries may need them, and emscripten don't plan to support WASM EH + Emscripten SjLj in the long term.
* | Add support for build profiles.Fabio Alessandrelli2024-06-151-0/+9
|/ | | | Allow enabling or disabling specific classes (which will not be built).
* Merge pull request #1451 from Faless/build/to_threads_or_not_to_threadsDavid Snopek2024-05-162-2/+10
|\ | | | | [SCons] Add option to build without threads
| * [SCons] Add option to build without threadsFabio Alessandrelli2024-04-302-2/+10
| | | | | | | | | | This is relevant for the Web platform, where builds with and without threads are incompatible.
* | Allow submitting documentation to the Godot editorDavid Snopek2024-05-071-1/+47
|/
* Implement `verbose` toggle from godot repoThaddeus Crews2024-04-091-1/+72
|
* [SCons] Split `targets.py`, apply flags from toolsFabio Alessandrelli2024-02-169-180/+180
| | | | | | | | | Split `targets` tool logic, moving all the compiler-specific flags to a new `common_compiler_flags.py` file, and everything else (CPPDEFINES, optimize option logic, dev build logic, etc) to the `godotcpp` tool. The default tools now apply the common compiler flags by importing the file and explicitly calling `configure`.
* [SCons] Add support for custom build tools and platformsFabio Alessandrelli2024-02-141-6/+38
| | | | | | | | Use with: `scons platform=os2 custom_tools=/path/to/tools` (assuming you have an `os2.py` inside `/path/to/tools/`)
* Merge pull request #1344 from ArchLinus/ndk-errorDavid Snopek2024-01-041-0/+6
|\ | | | | Add an error message if android NDK is not installed
| * Add an error message if android NDK is not installedArchLinus2023-12-301-0/+6
| |
* | Allow detecting when building as a GDExtensionAaron Franke2023-12-181-0/+3
|/
* Merge pull request #1313 from DmitriySalnikov/visibility_hiddenDavid Snopek2023-11-241-0/+17
|\ | | | | [Scons] Added the ability to change the visibility of symbols
| * [Scons] Added the ability to change the visibility of symbolsDmitriySalnikov2023-11-211-0/+17
| |
* | [Scons] Set the minimum Android API level to 21DmitriySalnikov2023-11-231-5/+3
|/
* [iOS] Bump default version to 12 to match engine.bruvzg2023-11-211-1/+1
|
* fix is_msvc and use_hot_reload variablesThaddeus Crews2023-11-061-10/+12
|
* Update the environment variables used to access the Android NDK toolchainFredia Huya-Kouadio2023-11-011-7/+19
|
* SCons: Disable C++ exception handling by defaultRémi Verschelde2023-10-222-1/+17
| | | | Counterpart to https://github.com/godotengine/godot/pull/80612.
* Refactor compiledb implementationAdam Scott2023-10-191-4/+9
| | | | | | | | | This comment enables the possibility to build the "compile_commands.json" file by only using `scons -Q compiledb`. No need to use the argument `compiledb=yes`. And when using the `compiledb=yes`, it will create a "compiled_commands.json" automatically.
* Let gdextension_dir function as only argumentThaddeus Crews2023-10-181-1/+1
|
* [SCons] Rename javascript tool to webFabio Alessandrelli2023-10-152-18/+18
| | | | And clean it up a bit.
* Merge pull request #1247 from nicholas-maltbie/nickmaltbie/javascript-wasm-fixDavid Snopek2023-10-041-9/+6
|\ | | | | Javascript Web WASM Fix
| * Added fix for javascript build for godot 4.xNick Maltbie2023-10-011-9/+6
| | | | | | | | | | | | Added changes to tools/javascript.py to add PFlags to fix SharedArrayBuffer memory error. Corrected some small errors in tools/javascript.py to support new target names. Also updated ci to include validation for web build.
* | Changes necessary for hot reload to workDavid Snopek2023-09-252-0/+14
|/
* [SCons] Fixed crashes in several scriptsDmitriySalnikov2023-09-094-6/+7
|
* [SCons] Move the GodotCPP build to its own tool.Fabio Alessandrelli2023-08-291-0/+309
|
* SCons: Sync `targets.py` fully with upstream GodotRémi Verschelde2023-08-101-9/+61
| | | | | | | - Reorders existing code to match Godot. - Adds `NDEBUG` for non-dev builds. - Adds `-gdwarf-4` for Clang debug symbols. - Adds strip link flag for GCC/Clang builds without debug symbols.
* Statically link mingw/msvc runtime libraries on WindowsFeiyun Wang2023-08-092-16/+34
| | | | Co-authored-by: David Snopek <dsnopek@gmail.com>
* Merge pull request #1191 from Faless/build/unify_osxcrossDavid Snopek2023-07-314-65/+54
|\ | | | | [SCons] Merge OSXCross tools into platform ones
| * [SCons] Merge OSXCross tools into platofrm onesFabio Alessandrelli2023-07-234-65/+54
| |
* | Add platform macrosAdam Scott2023-07-236-0/+12
|/
* [MSVC] Force UTF-8 encoding.bruvzg2023-07-111-1/+1
|
* [SCons] Platform agnostic default toolchain (GNU).Fabio Alessandrelli2022-12-201-0/+5
| | | | | | | Create the SCons Environment with an empty PLATFORM variable to force the default tools to use the GNU toolchain. Platform specific toolchains are then setup in our custom tools.