mirror of
https://gitlab.com/libeigen/eigen.git
synced 2026-04-10 11:34:33 +08:00
Hello, World!
This is the initial commit for Eigen2, since I restarted it from scratch on Sunday.
This commit is contained in:
23
test/CMakeLists.txt
Normal file
23
test/CMakeLists.txt
Normal file
@@ -0,0 +1,23 @@
|
||||
IF(BUILD_TESTS)
|
||||
|
||||
ENABLE_TESTING()
|
||||
FIND_PACKAGE(Qt4 REQUIRED)
|
||||
INCLUDE_DIRECTORIES( ${QT_INCLUDE_DIR} )
|
||||
|
||||
SET(test_SRCS
|
||||
main.cpp
|
||||
vectorops.cpp
|
||||
matrixops.cpp
|
||||
matrixmanip.cpp
|
||||
)
|
||||
QT4_AUTOMOC(${test_SRCS})
|
||||
INCLUDE_DIRECTORIES(
|
||||
${CMAKE_SOURCE_DIR}/src
|
||||
)
|
||||
|
||||
ADD_EXECUTABLE(test ${test_SRCS})
|
||||
TARGET_LINK_LIBRARIES(test ${QT_QTCORE_LIBRARY} ${QT_QTTEST_LIBRARY})
|
||||
|
||||
ADD_TEST(Eigen test)
|
||||
|
||||
ENDIF(BUILD_TESTS)
|
||||
Reference in New Issue
Block a user