summaryrefslogtreecommitdiff
path: root/modules/camera/SCsub
blob: de97724d09ddd19ee2f604366c02b4aac5654731 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/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")