diff options
author | David Snopek <dsnopek@gmail.com> | 2023-10-15 09:49:53 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-10-15 09:49:53 -0500 |
commit | 4320c62c76879ae9ab3e5ff198d82896d9985af3 (patch) | |
tree | 09ae2612b54fa2dd7d535860bf07945e7d4e7557 /tools/godotcpp.py | |
parent | c4d3f019dab87aff7b36acc5071e1c9adf76f6dd (diff) | |
parent | 18bfa133ab3b6687fd742076cfd20ad7784d058d (diff) | |
download | redot-cpp-4320c62c76879ae9ab3e5ff198d82896d9985af3.tar.gz |
Merge pull request #1270 from Faless/build/web_rename
[SCons] Rename javascript tool to web
Diffstat (limited to 'tools/godotcpp.py')
-rw-r--r-- | tools/godotcpp.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/godotcpp.py b/tools/godotcpp.py index c89335d..69a4652 100644 --- a/tools/godotcpp.py +++ b/tools/godotcpp.py @@ -33,7 +33,7 @@ def validate_parent_dir(key, val, env): raise UserError("'%s' is not a directory: %s" % (key, os.path.dirname(val))) -platforms = ("linux", "macos", "windows", "android", "ios", "javascript") +platforms = ("linux", "macos", "windows", "android", "ios", "web") # CPU architecture options. architecture_array = [ @@ -222,7 +222,7 @@ def generate(env): env["arch"] = "universal" elif env["platform"] == "android": env["arch"] = "arm64" - elif env["platform"] == "javascript": + elif env["platform"] == "web": env["arch"] = "wasm32" else: host_machine = platform.machine().lower() |