2020-09-27 00:15:21 +02:00
|
|
|
#!/usr/bin/env python
|
2024-06-11 22:19:07 +02:00
|
|
|
from misc.utility.scons_hints import *
|
2020-09-27 00:15:21 +02:00
|
|
|
|
|
|
|
Import("env")
|
|
|
|
Import("env_modules")
|
|
|
|
|
2022-08-28 20:27:45 +02:00
|
|
|
if env["platform"] == "web":
|
2020-09-27 00:15:21 +02: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")
|