summaryrefslogtreecommitdiffstats
path: root/tools/godotcpp.py
diff options
context:
space:
mode:
authorDavid Snopek <dsnopek@gmail.com>2023-10-15 09:49:53 -0500
committerGitHub <noreply@github.com>2023-10-15 09:49:53 -0500
commit4320c62c76879ae9ab3e5ff198d82896d9985af3 (patch)
tree09ae2612b54fa2dd7d535860bf07945e7d4e7557 /tools/godotcpp.py
parentc4d3f019dab87aff7b36acc5071e1c9adf76f6dd (diff)
parent18bfa133ab3b6687fd742076cfd20ad7784d058d (diff)
downloadredot-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.py4
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()