19 lines
		
	
	
		
			608 B
		
	
	
	
		
			Python
		
	
	
		
		
			
		
	
	
			19 lines
		
	
	
		
			608 B
		
	
	
	
		
			Python
		
	
	
|  | from distutils.core import setup | ||
|  | from distutils.extension import Extension | ||
|  | from Cython.Build import cythonize | ||
|  | import eigency | ||
|  | 
 | ||
|  | setup( | ||
|  |     ext_modules=cythonize(Extension( | ||
|  |         "gtsam_unstable", | ||
|  |         sources=["gtsam_unstable.pyx"], | ||
|  |         include_dirs = ["${CMAKE_SOURCE_DIR}", "${CMAKE_BINARY_DIR}", | ||
|  |                         "${CMAKE_SOURCE_DIR}/gtsam/3rdparty/Eigen" | ||
|  |                        ] + eigency.get_includes(include_eigen=False), | ||
|  |         libraries=['gtsam', 'gtsam_unstable'], | ||
|  |         library_dirs=["${GTSAM_DIR}/../../"], | ||
|  |         language="c++", | ||
|  |         extra_compile_args=["-std=c++11"])), | ||
|  | ) | ||
|  | 
 |