mirror of
https://gitlab.com/libeigen/eigen.git
synced 2024-12-21 07:19:46 +08:00
0170eb0dbe
mode but the advantage of using Eigen's expression template to compute the derivatives (unless you nest an AutoDiffScalar into an Eigen's matrix).
20 lines
381 B
CMake
20 lines
381 B
CMake
|
|
include(EigenTesting)
|
|
|
|
enable_testing()
|
|
|
|
find_package(Adolc)
|
|
|
|
include_directories(../../test)
|
|
|
|
if(ADOLC_FOUND)
|
|
include_directories(${ADOLC_INCLUDES})
|
|
ei_add_property(EIGEN_TESTED_BACKENDS "Adolc")
|
|
ei_add_test(forward_adolc " " ${ADOLC_LIBRARIES})
|
|
else(ADOLC_FOUND)
|
|
ei_add_property(EIGEN_MISSING_BACKENDS "Adolc")
|
|
endif(ADOLC_FOUND)
|
|
|
|
ei_add_test(autodiff)
|
|
ei_add_test(BVH)
|