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