godot/modules/camera/SCsub
2022-07-21 09:37:52 +03:00

14 lines
454 B
Python

#!/usr/bin/env python
Import("env")
Import("env_modules")
env_camera = env_modules.Clone()
if env["platform"] == "windows":
env_camera.add_source_files(env.modules_sources, "register_types.cpp")
env_camera.add_source_files(env.modules_sources, "camera_win.cpp")
elif env["platform"] == "macos":
env_camera.add_source_files(env.modules_sources, "register_types.cpp")
env_camera.add_source_files(env.modules_sources, "camera_macos.mm")