mirror of
https://gitlab.com/libeigen/eigen.git
synced 2026-04-10 11:34:33 +08:00
-- many more Eigenification changes, in preparation of the big merge -- big changes in the Comma Initializer to allow for column-major order, leading to a simpler and cleaner solution. "commaWrite" hook added to the classes using the Comma Initializer. -- lots of API improvements, cleanup, removal of dead/useless stuff -- testsuite updated
51 lines
1.4 KiB
CMake
51 lines
1.4 KiB
CMake
INCLUDE(CheckIncludeFiles)
|
|
|
|
IF(BUILD_TESTS)
|
|
|
|
ENABLE_TESTING()
|
|
|
|
FIND_PACKAGE(Qt4 REQUIRED)
|
|
|
|
INCLUDE_DIRECTORIES( ${QT_INCLUDE_DIR} )
|
|
|
|
SET(testsuite_SOURCES
|
|
main.cpp
|
|
testcommainitializer.cpp
|
|
testtraits.cpp
|
|
testconstructors.cpp
|
|
# TestConstruction.h TestConstruction.cc
|
|
# TestComplexMatrix.h TestComplexMatrix.cc
|
|
# TestComplexVector.h TestComplexVector.cc
|
|
# TestDimension.h TestDimension.cc
|
|
# TestMathOps.h TestMathOps.cc
|
|
# TestMatrixEval.h TestMatrixEval.cc
|
|
# TestMatrixFunctions.h TestMatrixFunctions.cc
|
|
# TestMatrixOperators.h TestMatrixOperators.cc
|
|
# TestSTL.h TestSTL.cc
|
|
# TestUnFunc.h TestUnFunc.cc
|
|
# TestVectorEval.h TestVectorEval.cc
|
|
# TestVectorFunctions.h TestVectorFunctions.cc
|
|
# TestVectorOperators.h TestVectorOperators.cc
|
|
# TestXpr.h TestXpr.cc
|
|
# TestXprMatrixFunctions.h TestXprMatrixFunctions.cc
|
|
# TestXprMatrixOperators.h TestXprMatrixOperators.cc
|
|
# TestXprVectorFunctions.h TestXprVectorFunctions.cc
|
|
# TestXprVectorOperators.h TestXprVectorOperators.cc
|
|
# TestUnloops.h TestUnloops.cc
|
|
# TestMatrixElementwise.h TestMatrixElementwise.cc
|
|
)
|
|
|
|
QT4_AUTOMOC(${testsuite_SOURCES})
|
|
|
|
INCLUDE_DIRECTORIES(${CPPUNIT_INCLUDE_DIR}
|
|
${CMAKE_SOURCE_DIR}/tvmet-1.7.1/include
|
|
${CMAKE_INSTALL_PREFIX}/include)
|
|
|
|
ADD_EXECUTABLE(testsuite ${testsuite_SOURCES})
|
|
|
|
TARGET_LINK_LIBRARIES(testsuite ${QT_QTCORE_LIBRARY} ${QT_QTTEST_LIBRARY})
|
|
|
|
ADD_TEST(Eigen testsuite)
|
|
|
|
ENDIF(BUILD_TESTS)
|