X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=Testing%2FCMakeLists.txt;h=011b9a3be5644fecac95404338d24cd9691d156a;hb=bfc3823268759435c3aae396f3081dbebf137223;hp=0899b62aa90b9e38028933774cc079a7a92ee392;hpb=9649936f884197f6f6260aae051d33729bce07d5;p=gdcm.git diff --git a/Testing/CMakeLists.txt b/Testing/CMakeLists.txt index 0899b62a..011b9a3b 100644 --- a/Testing/CMakeLists.txt +++ b/Testing/CMakeLists.txt @@ -12,6 +12,8 @@ SET(TEST_SOURCES TestHash.cxx TestTS.cxx TestVR.cxx + TestUtil.cxx + TestDicomString.cxx ) # add tests that require data @@ -27,14 +29,18 @@ IF (GDCM_DATA_ROOT) BuildUpDicomDir.cxx # writes a file named "NewDICOMDIR" makeDicomDir.cxx # writes a file named "NewDICOMDIR" TestCopyDicom.cxx + TestCopyRescaleDicom.cxx ) # 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) @@ -114,6 +120,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)