godot/modules/gdnative/net/SCsub
2019-04-12 18:51:24 +02:00

14 lines
270 B
Python

#!/usr/bin/env python
Import('env')
Import('env_gdnative')
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')