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.
		
		
		
		
			
				
					24 lines
				
				661 B
			
		
		
			
		
	
	
					24 lines
				
				661 B
			| 
											4 years ago
										 | Import('env', 'arch', 'cereal', 'messaging', 'common', 'gpucommon', 'visionipc', 'USE_WEBCAM')
 | ||
| 
											6 years ago
										 | 
 | ||
| 
											4 years ago
										 | libs = ['m', 'pthread', common, 'jpeg', 'OpenCL', 'yuv', cereal, messaging, 'zmq', 'capnp', 'kj', visionipc, gpucommon]
 | ||
| 
											6 years ago
										 | 
 | ||
| 
											4 years ago
										 | cameras = []
 | ||
| 
											4 years ago
										 | if arch == "larch64":
 | ||
| 
											5 years ago
										 |   libs += ['atomic']
 | ||
|  |   cameras = ['cameras/camera_qcom2.cc']
 | ||
| 
											5 years ago
										 | 
 | ||
| 
											4 years ago
										 |   env.Program('camerad', [
 | ||
|  |       'main.cc',
 | ||
|  |       'cameras/camera_common.cc',
 | ||
|  |       'transforms/rgb_to_yuv.cc',
 | ||
|  |       'imgproc/utils.cc',
 | ||
|  |       cameras,
 | ||
|  |     ], LIBS=libs)
 | ||
| 
											5 years ago
										 | 
 | ||
|  | if GetOption("test"):
 | ||
|  |   env.Program('test/ae_gray_test', [
 | ||
|  |       'test/ae_gray_test.cc',
 | ||
|  |       'cameras/camera_common.cc',
 | ||
|  |       'transforms/rgb_to_yuv.cc',
 | ||
|  |     ], LIBS=libs)
 |