mirror of
https://github.com/godotengine/godot.git
synced 2024-12-15 10:12:40 +08:00
14 lines
270 B
Python
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')
|
|
|