mirror of
https://github.com/Relintai/pandemonium_engine.git
synced 2024-12-27 06:07:14 +01:00
15 lines
450 B
Plaintext
15 lines
450 B
Plaintext
|
#!/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"] == "osx":
|
||
|
env_camera.add_source_files(env.modules_sources, "register_types.cpp")
|
||
|
env_camera.add_source_files(env.modules_sources, "camera_osx.mm")
|