Add WebRTC GDNative interface

This commit is contained in:
Fabio Alessandrelli 2018-11-20 10:58:56 +01:00
parent 7c17e31a55
commit 320960cd32
7 changed files with 297 additions and 2 deletions

View file

@ -3,5 +3,11 @@
Import('env')
Import('env_gdnative')
env_gdnative.add_source_files(env.modules_sources, '*.cpp')
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')