summaryrefslogtreecommitdiffstats
path: root/methods.py
diff options
context:
space:
mode:
authorRémi Verschelde <remi@verschelde.fr>2022-12-10 22:08:18 +0100
committerGitHub <noreply@github.com>2022-12-10 22:08:18 +0100
commit21136aaf9ae679f76f52b7ffa9703480ba555403 (patch)
treea1b5417010460ac6bc0ed32b5c1d4dba298ee544 /methods.py
parentc3d7f7a57ebbb8ce47f44997d6936bffd81e9160 (diff)
parent063637ec77bbb3f3b809d616005cb80d0cdc64b1 (diff)
downloadredot-engine-21136aaf9ae679f76f52b7ffa9703480ba555403.tar.gz
Merge pull request #67399 from Calinou/rename-precision-double-scons
Rename `float=64` SCons option to `precision=double`
Diffstat (limited to 'methods.py')
-rw-r--r--methods.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/methods.py b/methods.py
index f4afead9f4..99a59b49e3 100644
--- a/methods.py
+++ b/methods.py
@@ -774,7 +774,7 @@ def generate_vs_project(env, num_jobs):
for platform in ModuleConfigs.PLATFORMS
]
self.arg_dict["runfile"] += [
- f'bin\\godot.windows.{config}{ModuleConfigs.DEV_SUFFIX}{".double" if env["float"] == "64" else ""}.{plat_id}{f".{name}" if name else ""}.exe'
+ f'bin\\godot.windows.{config}{ModuleConfigs.DEV_SUFFIX}{".double" if env["precision"] == "double" else ""}.{plat_id}{f".{name}" if name else ""}.exe'
for config in ModuleConfigs.CONFIGURATIONS
for plat_id in ModuleConfigs.PLATFORM_IDS
]
@@ -820,8 +820,8 @@ def generate_vs_project(env, num_jobs):
if env["custom_modules"]:
common_build_postfix.append("custom_modules=%s" % env["custom_modules"])
- if env["float"] == "64":
- common_build_postfix.append("float=64")
+ if env["precision"] == "double":
+ common_build_postfix.append("precision=double")
result = " ^& ".join(common_build_prefix + [" ".join([commands] + common_build_postfix)])
return result