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.
		
		
		
		
		
			
		
			
				
					
					
						
							18 lines
						
					
					
						
							597 B
						
					
					
				
			
		
		
	
	
							18 lines
						
					
					
						
							597 B
						
					
					
				| Import('env', 'arch', 'cereal', 'messaging', 'common', 'gpucommon', 'visionipc')
 | |
| 
 | |
| libs = ['m', 'pthread', common, 'jpeg', 'OpenCL', 'yuv', cereal, messaging, 'zmq', 'capnp', 'kj', visionipc, gpucommon, 'atomic']
 | |
| 
 | |
| cenv = env.Clone()
 | |
| cenv['CPPPATH'].append('include/')
 | |
| 
 | |
| camera_obj = cenv.Object(['cameras/camera_qcom2.cc', 'cameras/camera_common.cc', 'cameras/camera_util.cc'])
 | |
| cenv.Program('camerad', [
 | |
|     'main.cc',
 | |
|     camera_obj,
 | |
|   ], LIBS=libs)
 | |
| 
 | |
| if GetOption("test") and arch == "x86_64":
 | |
|   cenv.Program('test/ae_gray_test', [
 | |
|       'test/ae_gray_test.cc',
 | |
|       camera_obj,
 | |
|     ], LIBS=libs)
 | |
| 
 |