diff options
Diffstat (limited to 'core/SCsub')
-rw-r--r-- | core/SCsub | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/core/SCsub b/core/SCsub index 8bda230b87..1c01bbbef6 100644 --- a/core/SCsub +++ b/core/SCsub @@ -158,7 +158,7 @@ if env["builtin_zstd"]: env.core_sources += thirdparty_obj -# Godot source files +# Redot source files env.add_source_files(env.core_sources, "*.cpp") @@ -186,11 +186,16 @@ def version_info_builder(target, source, env): #define VERSION_MINOR {minor} #define VERSION_PATCH {patch} #define VERSION_STATUS "{status}" +#define VERSION_STATUS_VERSION {status_version} #define VERSION_BUILD "{build}" #define VERSION_MODULE_CONFIG "{module_config}" #define VERSION_WEBSITE "{website}" #define VERSION_DOCS_BRANCH "{docs_branch}" -#define VERSION_DOCS_URL "https://docs.godotengine.org/en/" VERSION_DOCS_BRANCH +#define VERSION_DOCS_URL "https://docs.redotengine.org/en/" VERSION_DOCS_BRANCH +#define GODOT_VERSION_MAJOR {godot_major} +#define GODOT_VERSION_MINOR {godot_minor} +#define GODOT_VERSION_PATCH {godot_patch} +#define GODOT_VERSION_STATUS "{godot_status}" """.format(**env.version_info) ) @@ -260,6 +265,10 @@ env.CommandNoCache( ) # Authors +env.Depends("#core/redot_authors.gen.h", "../REDOT_AUTHORS.md") +env.CommandNoCache("#core/redot_authors.gen.h", "../REDOT_AUTHORS.md", env.Run(core_builders.make_redot_authors_header)) + +# Authors env.Depends("#core/authors.gen.h", "../AUTHORS.md") env.CommandNoCache("#core/authors.gen.h", "../AUTHORS.md", env.Run(core_builders.make_authors_header)) |