godot/modules/gdnative/net/SCsub

13 lines
269 B
Plaintext
Raw Normal View History

#!/usr/bin/env python
Import("env")
Import("env_gdnative")
2018-11-20 17:58:56 +08:00
env_net = env_gdnative.Clone()
has_webrtc = env_net["module_webrtc_enabled"]
if has_webrtc:
env_net.Append(CPPDEFINES=["WEBRTC_GDNATIVE_ENABLED"])
env_net.add_source_files(env.modules_sources, "*.cpp")