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