Home | History | Annotate | Download | only in eigen2
      1 
      2 find_package(Eigen2)
      3 
      4 if(EIGEN2_FOUND)
      5 
      6   include_directories(BEFORE ${EIGEN2_INCLUDE_DIR})
      7   btl_add_bench(btl_eigen2_linear main_linear.cpp)
      8   btl_add_bench(btl_eigen2_vecmat main_vecmat.cpp)
      9   btl_add_bench(btl_eigen2_matmat main_matmat.cpp)
     10   btl_add_bench(btl_eigen2_adv main_adv.cpp      )
     11 
     12   btl_add_target_property(btl_eigen2_linear COMPILE_FLAGS "-fno-exceptions -DBTL_PREFIX=eigen2")
     13   btl_add_target_property(btl_eigen2_vecmat COMPILE_FLAGS "-fno-exceptions -DBTL_PREFIX=eigen2")
     14   btl_add_target_property(btl_eigen2_matmat COMPILE_FLAGS "-fno-exceptions -DBTL_PREFIX=eigen2")
     15   btl_add_target_property(btl_eigen2_adv    COMPILE_FLAGS "-fno-exceptions -DBTL_PREFIX=eigen2")
     16 
     17   btl_add_bench(btl_tiny_eigen2 btl_tiny_eigen2.cpp OFF)
     18 
     19 endif() # EIGEN2_FOUND
     20