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
				
				500 B
			
		
		
			
		
	
	
					18 lines
				
				500 B
			| 
								 
											3 months ago
										 
									 | 
							
								Import('env', 'envCython', 'common')
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								cc_sources = [
							 | 
						||
| 
								 | 
							
								  "helpers/ekf_load.cc",
							 | 
						||
| 
								 | 
							
								  "helpers/ekf_sym.cc",
							 | 
						||
| 
								 | 
							
								]
							 | 
						||
| 
								 | 
							
								libs = ["dl"]
							 | 
						||
| 
								 | 
							
								if common != "":
							 | 
						||
| 
								 | 
							
								  # for SWAGLOG support
							 | 
						||
| 
								 | 
							
								  libs += [common, 'zmq']
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								ekf_objects = env.SharedObject(cc_sources)
							 | 
						||
| 
								 | 
							
								rednose = env.Library("helpers/ekf_sym", ekf_objects, LIBS=libs)
							 | 
						||
| 
								 | 
							
								rednose_python = envCython.Program("helpers/ekf_sym_pyx.so", ["helpers/ekf_sym_pyx.pyx", ekf_objects],
							 | 
						||
| 
								 | 
							
								                                   LIBS=libs + envCython["LIBS"])
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								Export('rednose', 'rednose_python')
							 |