0.2.0-dev Download ZIP
12 lines ·326 B Raw
| 1 | #!/usr/bin/env python |
| 2 | from misc.utility.scons_hints import * |
| 3 | |
| 4 | Import("env") |
| 5 | Import("env_modules") |
| 6 | |
| 7 | if env["platform"] == "web": |
| 8 | env.AddJSLibraries(["native/library_godot_webxr.js"]) |
| 9 | env.AddJSExterns(["native/webxr.externs.js"]) |
| 10 | |
| 11 | env_webxr = env_modules.Clone() |
| 12 | env_webxr.add_source_files(env.modules_sources, "*.cpp") |