SCsub 450 B

123456789101112131415
  1. #!/usr/bin/env python
  2. Import("env")
  3. Import("env_modules")
  4. env_camera = env_modules.Clone()
  5. if env["platform"] == "windows":
  6. env_camera.add_source_files(env.modules_sources, "register_types.cpp")
  7. env_camera.add_source_files(env.modules_sources, "camera_win.cpp")
  8. elif env["platform"] == "osx":
  9. env_camera.add_source_files(env.modules_sources, "register_types.cpp")
  10. env_camera.add_source_files(env.modules_sources, "camera_osx.mm")