0.2.0-dev Download ZIP
13 lines ·309 B Raw
| 1 | #!/usr/bin/env python |
| 2 | from misc.utility.scons_hints import * |
| 3 | |
| 4 | Import("env") |
| 5 | Import("env_modules") |
| 6 | |
| 7 | env_webrtc = env_modules.Clone() |
| 8 | |
| 9 | if env["platform"] == "web": |
| 10 | # Our JavaScript/C++ interface. |
| 11 | env.AddJSLibraries(["library_godot_webrtc.js"]) |
| 12 | |
| 13 | env_webrtc.add_source_files(env.modules_sources, "*.cpp") |