1 add_custom_target(eigen2_buildtests) 2 add_custom_target(eigen2_check COMMAND "ctest -R eigen2") 3 add_dependencies(eigen2_check eigen2_buildtests) 4 add_dependencies(buildtests eigen2_buildtests) 5 6 add_definitions("-DEIGEN2_SUPPORT_STAGE10_FULL_EIGEN2_API") 7 add_definitions("-DEIGEN_NO_EIGEN2_DEPRECATED_WARNING") 8 9 ei_add_test(eigen2_meta) 10 ei_add_test(eigen2_sizeof) 11 ei_add_test(eigen2_dynalloc) 12 ei_add_test(eigen2_nomalloc) 13 #ei_add_test(eigen2_first_aligned) 14 ei_add_test(eigen2_mixingtypes) 15 #ei_add_test(eigen2_packetmath) 16 ei_add_test(eigen2_unalignedassert) 17 #ei_add_test(eigen2_vectorization_logic) 18 ei_add_test(eigen2_basicstuff) 19 ei_add_test(eigen2_linearstructure) 20 ei_add_test(eigen2_cwiseop) 21 ei_add_test(eigen2_sum) 22 ei_add_test(eigen2_product_small) 23 ei_add_test(eigen2_product_large ${EI_OFLAG}) 24 ei_add_test(eigen2_adjoint) 25 ei_add_test(eigen2_submatrices) 26 ei_add_test(eigen2_miscmatrices) 27 ei_add_test(eigen2_commainitializer) 28 ei_add_test(eigen2_smallvectors) 29 ei_add_test(eigen2_map) 30 ei_add_test(eigen2_array) 31 ei_add_test(eigen2_triangular) 32 ei_add_test(eigen2_cholesky " " "${GSL_LIBRARIES}") 33 ei_add_test(eigen2_lu ${EI_OFLAG}) 34 ei_add_test(eigen2_determinant ${EI_OFLAG}) 35 ei_add_test(eigen2_inverse) 36 ei_add_test(eigen2_qr) 37 ei_add_test(eigen2_eigensolver " " "${GSL_LIBRARIES}") 38 ei_add_test(eigen2_svd) 39 ei_add_test(eigen2_geometry) 40 ei_add_test(eigen2_geometry_with_eigen2_prefix) 41 ei_add_test(eigen2_hyperplane) 42 ei_add_test(eigen2_parametrizedline) 43 ei_add_test(eigen2_alignedbox) 44 ei_add_test(eigen2_regression) 45 ei_add_test(eigen2_stdvector) 46 ei_add_test(eigen2_newstdvector) 47 if(QT4_FOUND) 48 ei_add_test(eigen2_qtvector " " "${QT_QTCORE_LIBRARY}") 49 endif(QT4_FOUND) 50 # no support for eigen2 sparse module 51 # if(NOT EIGEN_DEFAULT_TO_ROW_MAJOR) 52 # ei_add_test(eigen2_sparse_vector) 53 # ei_add_test(eigen2_sparse_basic) 54 # ei_add_test(eigen2_sparse_solvers " " "${SPARSE_LIBS}") 55 # ei_add_test(eigen2_sparse_product) 56 # endif() 57 ei_add_test(eigen2_swap) 58 ei_add_test(eigen2_visitor) 59 ei_add_test(eigen2_bug_132) 60 61 ei_add_test(eigen2_prec_inverse_4x4 ${EI_OFLAG}) 62