You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
593 B
22 lines
593 B
3 years ago
|
Import('env', 'arch', 'cereal', 'messaging', 'common', 'gpucommon', 'visionipc', 'USE_WEBCAM')
|
||
5 years ago
|
|
||
4 years ago
|
libs = ['m', 'pthread', common, 'jpeg', 'OpenCL', 'yuv', cereal, messaging, 'zmq', 'capnp', 'kj', visionipc, gpucommon]
|
||
5 years ago
|
|
||
3 years ago
|
cameras = []
|
||
3 years ago
|
if arch == "larch64":
|
||
5 years ago
|
libs += ['atomic']
|
||
|
cameras = ['cameras/camera_qcom2.cc']
|
||
5 years ago
|
|
||
3 years ago
|
env.Program('camerad', [
|
||
|
'main.cc',
|
||
|
'cameras/camera_common.cc',
|
||
|
'imgproc/utils.cc',
|
||
|
cameras,
|
||
|
], LIBS=libs)
|
||
4 years ago
|
|
||
|
if GetOption("test"):
|
||
|
env.Program('test/ae_gray_test', [
|
||
|
'test/ae_gray_test.cc',
|
||
|
'cameras/camera_common.cc',
|
||
|
], LIBS=libs)
|