CMakeLists.txt 1013 Bytes
Newer Older
1
ADD_SUBDIRECTORY( nifti )
2 3
IF( NOT CMAKE_GENERATOR MATCHES "Visual Studio" )
    ADD_SUBDIRECTORY( biosig )
4 5
ELSE ()
    ADD_SUBDIRECTORY( biosigWin )
6
ENDIF()
7

8
FILE( GLOB DATAHANDLER_IO_SRC "*.cpp" "*.h" )
9

10
# Unit tests
11
IF( OW_COMPILE_TESTS )
Mathias Goldau's avatar
[ADD]  
Mathias Goldau committed
12
  CXXTEST_ADD_TESTS_FROM_LIST( "${DATAHANDLER_IO_SRC}"
13
                               "OWdataHandler;OWext_niftiio;OWext_biosig;OWext_eep"
Mathias Goldau's avatar
[ADD]  
Mathias Goldau committed
14 15 16 17 18 19
                               "WWriter.cpp" # too simple to test
                               "WReader.cpp" # too simple to test
                               "WWriterLookUpTableVTK.cpp" # there is only one member function which is not trivial, but its more an integration test
                               "WReaderLookUpTableVTK.cpp" # there is only one member function which is not trivial, but its more an integration test
                               "WWriterFiberVTK.cpp" # there is only one member function which is not trivial, but its more an integration test
                             )
20
ENDIF( OW_COMPILE_TESTS )