X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=Testing%2FCMakeLists.txt;h=11d189882c3604ebeb102b90dd789e54177a2d4b;hb=145d405e9e35d7338bd1a7a3cccfa5b84befc042;hp=fa3a96bd7cd8bcb7d48aea301067817ff4416a8b;hpb=f0ea8af1179c35ddc83da32df10813899427214d;p=gdcm.git diff --git a/Testing/CMakeLists.txt b/Testing/CMakeLists.txt index fa3a96bd..11d18988 100644 --- a/Testing/CMakeLists.txt +++ b/Testing/CMakeLists.txt @@ -12,6 +12,7 @@ SET(TEST_SOURCES TestHash.cxx TestTS.cxx TestVR.cxx + TestUtil.cxx TestDicomString.cxx ) @@ -28,14 +29,18 @@ IF (GDCM_DATA_ROOT) BuildUpDicomDir.cxx # writes a file named "NewDICOMDIR" makeDicomDir.cxx # writes a file named "NewDICOMDIR" TestCopyDicom.cxx + # TestRescaleDicom.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) @@ -115,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)