Add WebRTC GDNative interface
This commit is contained in:
parent
7c17e31a55
commit
320960cd32
7 changed files with 297 additions and 2 deletions
|
|
@ -6,5 +6,11 @@ Import('env_modules')
|
|||
# Thirdparty source files
|
||||
|
||||
env_webrtc = env_modules.Clone()
|
||||
use_gdnative = env_webrtc["module_gdnative_enabled"]
|
||||
|
||||
if use_gdnative: # GDNative is retained in Javascript for export compatibility
|
||||
env_webrtc.Append(CPPDEFINES=['WEBRTC_GDNATIVE_ENABLED'])
|
||||
gdnative_includes = ["#modules/gdnative/include/"]
|
||||
env_webrtc.Append(CPPPATH=gdnative_includes)
|
||||
|
||||
env_webrtc.add_source_files(env.modules_sources, "*.cpp")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue