ce18d99cb0
Add back support for Godot 4.3
2026-01-15 06:45:44 -06:00
c90f436694
Add back support for Godot 4.4
2026-01-06 10:06:13 -06:00
2f1695afe2
Add api_version build option to select the API JSON file
2026-01-06 07:47:07 -06:00
fe68c22c3e
Generate GDExtension interface header and loader from JSON
2025-12-18 12:09:41 -06:00
6c05f1f0b1
Merge pull request #1789 from aaronfranke/header-builders
...
Add header builders script for `env.GLSL_HEADER` and SVG icons
2025-10-20 10:53:18 -05:00
76d1ce6848
Remove CPPEXTPATH changes, add error macros
2025-10-06 13:49:49 -05:00
51008e1556
Add header builders script for env.GLSL_HEADER and SVG icons
2025-08-25 11:16:37 -07:00
8e7dfbc71a
Fix custom_api_file with SCons 4.0.1
2025-07-17 09:03:11 -05:00
6a870949a5
Merge pull request #1669 from Ivorforce/scons-variant_dir-support
...
Add SCons variant_dir support
2025-07-03 12:17:32 -05:00
646ccdf470
Files generated by SCons should depend on the build_profile (if given)
2025-06-18 14:43:12 -05:00
2a8d218f12
Merge pull request #1756 from Repiteo/scons/external-includes
...
SCons: Add `CPPEXTPATH` for external includes
2025-04-16 16:10:45 -05:00
d634a5f8c4
Synced defs.hpp with godot's typedefs.h
2025-04-07 17:30:55 +01:00
30bfa6f215
SCons: Add CPPEXTPATH for external includes
2025-04-04 09:39:47 -05:00
0a73df5f53
Check that precision of extension_api.json matches build options
2025-02-27 13:27:11 -06:00
8814ac51ac
CMake: Support for XML documentation
...
Add new function generate_doc_source to python_callouts.cmake
Update Test extension to use generate_doc_source function and include generated file in the build.
Cleanup:
Fix godotcpp.py imports after rebase
Pre-Commit hook sorted python imports in doc_source_generator.py
- replace ${CMAKE_CURRENT_SOURCE_DIR} with ${godot-cpp_SOURCE_DIR} when referencing current working directory and script locations when invoking python scripts.
Co-authored-by: David Snopek <dsnopek@gmail.com >
2025-01-13 08:28:42 +10:30
1345c46650
Add SCons variant_dir support, which allows specifying a target build directory.
2025-01-12 18:32:59 +01:00
c4f1abe3f9
[Bindings] Build profile now strips methods and skip files
...
This allows removing dependencies that are not explicitly unused by the
gdextension being built and is implemented using an intermediate json
API file with the methods and classes stripped (i.e. without touching
the file generators).
2025-01-07 20:33:12 +01:00
c20a84e483
Merge pull request #1601 from Ivorforce/lto
...
Add lto scons option
2024-11-12 11:16:10 -06:00
5f7cf05043
Add lto scons option, defaulting to "none".
2024-11-12 12:45:35 +01:00
83c0f15ab9
SCons: Don't cache librarys
2024-09-30 11:26:06 -05:00
e0d363aad8
Integrate .pre-commit-config.yaml
2024-06-24 15:43:55 -05:00
1186c488bd
Add support for build profiles.
...
Allow enabling or disabling specific classes (which will not be built).
2024-06-15 16:19:41 +02:00
340dde31a2
Merge pull request #1451 from Faless/build/to_threads_or_not_to_threads
...
[SCons] Add option to build without threads
2024-05-16 10:39:57 -05:00
a434850069
Allow submitting documentation to the Godot editor
2024-05-07 11:08:18 -05:00
b0296bb562
[SCons] Add option to build without threads
...
This is relevant for the Web platform, where builds with and without
threads are incompatible.
2024-04-30 19:19:36 +02:00
b05c21bb1d
Implement verbose toggle from godot repo
2024-04-09 21:13:02 -05:00
16df4bff30
[SCons] Split targets.py, apply flags from tools
...
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`.
2024-02-16 23:08:06 +01:00
baaad7ada2
[SCons] Add support for custom build tools and platforms
...
Use with:
`scons platform=os2 custom_tools=/path/to/tools`
(assuming you have an `os2.py` inside `/path/to/tools/`)
2024-02-14 21:20:38 +01:00
e17c7bf530
Allow detecting when building as a GDExtension
2023-12-18 09:13:20 -06:00
f5e4f95cde
[Scons] Added the ability to change the visibility of symbols
2023-11-21 18:55:02 +03:00
648b8c4489
fix is_msvc and use_hot_reload variables
2023-11-06 10:50:19 -06:00
bf1c03ab5f
SCons: Disable C++ exception handling by default
...
Counterpart to https://github.com/godotengine/godot/pull/80612 .
2023-10-22 12:45:46 +02:00
2d5024ac8e
Refactor compiledb implementation
...
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.
2023-10-19 10:51:31 -04:00
7a5cbcac21
Let gdextension_dir function as only argument
2023-10-18 11:32:51 -05:00
18bfa133ab
[SCons] Rename javascript tool to web
...
And clean it up a bit.
2023-10-15 13:12:49 +02:00
df849651d9
Changes necessary for hot reload to work
2023-09-25 22:13:33 -05:00
0e5975dd26
[SCons] Fixed crashes in several scripts
2023-09-09 12:44:14 +03:00
f8b4f60cb9
[SCons] Move the GodotCPP build to its own tool.
2023-08-29 18:14:42 +02:00