summaryrefslogtreecommitdiff
path: root/modules/webxr/SCsub
diff options
context:
space:
mode:
Diffstat (limited to 'modules/webxr/SCsub')
-rw-r--r--modules/webxr/SCsub11
1 files changed, 11 insertions, 0 deletions
diff --git a/modules/webxr/SCsub b/modules/webxr/SCsub
new file mode 100644
index 0000000000..0a96af0811
--- /dev/null
+++ b/modules/webxr/SCsub
@@ -0,0 +1,11 @@
+#!/usr/bin/env python
+
+Import("env")
+Import("env_modules")
+
+if env["platform"] == "javascript":
+ env.AddJSLibraries(["native/library_godot_webxr.js"])
+ env.AddJSExterns(["native/webxr.externs.js"])
+
+env_webxr = env_modules.Clone()
+env_webxr.add_source_files(env.modules_sources, "*.cpp")