summaryrefslogtreecommitdiffstatshomepage
path: root/scripts/genie.lua
diff options
context:
space:
mode:
author Justin Kerk <dopefishjustin@gmail.com>2016-10-29 06:00:45 +0000
committer Justin Kerk <dopefishjustin@gmail.com>2016-10-29 06:00:45 +0000
commitb99be73f2db5d3f81edc96a92ac4839e7f1cc3ab (patch)
tree1da4d36e785de35e44005147befa8995f184b644 /scripts/genie.lua
parent592c51d19e7a5e2037fff7037d7a1fbe0b308e6c (diff)
Experimental support for compiling to WebAssembly using Emscripten (not yet working) (nw)
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