2018-06-26 18:26:51 +00:00
|
|
|
#!/usr/bin/env python
|
|
|
|
|
2020-03-30 06:28:32 +00:00
|
|
|
Import("env")
|
|
|
|
Import("env_gdnative")
|
2018-06-26 18:26:51 +00:00
|
|
|
|
2018-11-20 09:58:56 +00:00
|
|
|
env_net = env_gdnative.Clone()
|
|
|
|
|
|
|
|
has_webrtc = env_net["module_webrtc_enabled"]
|
|
|
|
if has_webrtc:
|
2020-03-30 06:28:32 +00:00
|
|
|
env_net.Append(CPPDEFINES=["WEBRTC_GDNATIVE_ENABLED"])
|
2018-06-26 18:26:51 +00:00
|
|
|
|
2020-03-30 06:28:32 +00:00
|
|
|
env_net.add_source_files(env.modules_sources, "*.cpp")
|