summaryrefslogtreecommitdiff
path: root/SConstruct
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2022-09-14 11:28:58 +0200
committerRémi Verschelde <rverschelde@gmail.com>2022-09-14 11:32:51 +0200
commitd432fe38a9a65b9e84964a7393c9fe4ce22361a3 (patch)
treef05a54e46ddb1f8f6a333b7b030bf985468dc7bc /SConstruct
parentd9e974cdb0ffa22053c81a214413c1d7b5d8cfcc (diff)
SCons: Add `methods.get_version_info()` method returning a Dict
This makes it possible to retrieve all relevant versioning info used to generate `core/version_generated.gen.h` in the buildsystem. Notably it makes the custom logic parsing the `GODOT_VERSION_STATUS` environment variable to override status easy to reuse.
Diffstat (limited to 'SConstruct')
-rw-r--r--SConstruct2
1 files changed, 1 insertions, 1 deletions
diff --git a/SConstruct b/SConstruct
index f7504f72e1..891f1116e1 100644
--- a/SConstruct
+++ b/SConstruct
@@ -737,7 +737,7 @@ if selected_platform in platform_list:
env.module_list = modules_enabled
methods.sort_module_list(env)
- methods.update_version(env.module_version_string)
+ methods.generate_version_header(env.module_version_string)
env["PROGSUFFIX"] = suffix + env.module_version_string + env["PROGSUFFIX"]
env["OBJSUFFIX"] = suffix + env["OBJSUFFIX"]