godot/modules/webxr/SCsub

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

13 lines
326 B
Plaintext
Raw Permalink Normal View History

2020-09-26 22:15:21 +00:00
#!/usr/bin/env python
from misc.utility.scons_hints import *
2020-09-26 22:15:21 +00:00
Import("env")
Import("env_modules")
if env["platform"] == "web":
2020-09-26 22:15:21 +00:00
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")