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.
		
		
		
		
		
			
		
			
				
					
					
						
							21 lines
						
					
					
						
							600 B
						
					
					
				
			
		
		
	
	
							21 lines
						
					
					
						
							600 B
						
					
					
				Import('env', 'arch', 'cereal', 'messaging', 'common', 'gpucommon', 'visionipc')
 | 
						|
 | 
						|
libs = ['m', 'pthread', common, 'jpeg', 'OpenCL', 'yuv', cereal, messaging, 'zmq', 'capnp', 'kj', visionipc, gpucommon]
 | 
						|
 | 
						|
cameras = []
 | 
						|
if arch == "larch64":
 | 
						|
  libs += ['atomic']
 | 
						|
  cameras = ['cameras/camera_qcom2.cc']
 | 
						|
 | 
						|
  env.Program('camerad', [
 | 
						|
      'main.cc',
 | 
						|
      'cameras/camera_common.cc',
 | 
						|
      'imgproc/utils.cc',
 | 
						|
      cameras,
 | 
						|
    ], LIBS=libs)
 | 
						|
 | 
						|
if GetOption("test") and arch == "x86_64":
 | 
						|
  env.Program('test/ae_gray_test', [
 | 
						|
      'test/ae_gray_test.cc',
 | 
						|
      'cameras/camera_common.cc',
 | 
						|
    ], LIBS=libs)
 | 
						|
 |