summaryrefslogtreecommitdiffstatshomepage
path: root/scripts/genie.lua
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/genie.lua')
-rw-r--r--scripts/genie.lua5
1 files changed, 5 insertions, 0 deletions
diff --git a/scripts/genie.lua b/scripts/genie.lua
index 004c0228428..92a59fcd65f 100644
--- a/scripts/genie.lua
+++ b/scripts/genie.lua
@@ -377,6 +377,11 @@ newoption {
description = "Arguments for running debug build.",
}
+newoption {
+ trigger = "WEBASSEMBLY",
+ description = "Produce WebAssembly output when building with Emscripten.",
+}
+
dofile ("extlib.lua")
if _OPTIONS["SHLIB"]=="1" then