X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=Testing%2FCMakeLists.txt;h=d53cbc71e940dd1b6961f58993d87ce8e359ea1d;hb=4d7376a96afa365371c33a2fa7f814e9d81fad9f;hp=d6cf96bb2759892e80dbdbdd3a4f75633dc7cd08;hpb=71e2004c9b6d52acbc98f7d130ddb24d756d830b;p=gdcm.git diff --git a/Testing/CMakeLists.txt b/Testing/CMakeLists.txt index d6cf96bb..d53cbc71 100644 --- a/Testing/CMakeLists.txt +++ b/Testing/CMakeLists.txt @@ -10,6 +10,10 @@ SET(GDCM_TESTS ${CXX_TEST_PATH}/gdcmTests) SET(TEST_SOURCES TestBug.cxx TestHash.cxx + TestTS.cxx + TestVR.cxx + TestUtil.cxx + TestDicomString.cxx ) # add tests that require data @@ -28,11 +32,14 @@ IF (GDCM_DATA_ROOT) ) # add test that require VTK: IF(GDCM_VTK) + # Include the VTK library + INCLUDE(${VTK_USE_FILE}) + INCLUDE_DIRECTORIES( ${GDCM_SOURCE_DIR}/vtk/ ) SET(TEST_SOURCES ${TEST_SOURCES} - ShowDicom.cxx + ShowDicom.cxx ) ENDIF(GDCM_VTK) ENDIF (GDCM_DATA_ROOT) @@ -112,6 +119,12 @@ SET(BLACK_LIST "KODAK-12-MONO1-Odd_Terminated_Sequence.dcm" ) +IF(APPLE) + SET(BLACK_LIST ${BLACK_LIST} + "SIEMENS_GBS_III-16-ACR_NEMA_1.acr" # This image contains a wrong length + # Which led us to read pass the end of the file. This seg fault on MacOSX + ) +ENDIF(APPLE) # This is a GLOB expression, change it into a list separated with a comma and \n SET(GDCM_DATA_IMAGES)