diff options
author | David Snopek <dsnopek@gmail.com> | 2020-09-26 17:15:21 -0500 |
---|---|---|
committer | David Snopek <dsnopek@gmail.com> | 2021-01-04 17:02:37 -0600 |
commit | a54a2d65e16cea409c8a876f517451d3168da13b (patch) | |
tree | c2cc62d0612cea17620e6c8807e4d89d45ecd44b /modules/webxr/SCsub | |
parent | a511a26ad82bf70ed00ab34a3201ec5c6049387f (diff) |
Add support for WebXR
Diffstat (limited to 'modules/webxr/SCsub')
-rw-r--r-- | modules/webxr/SCsub | 11 |
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") |