X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=Testing%2FCMakeLists.txt;h=9ff25734e48687a6d69b69fa276e7f8d1baaa658;hb=46c9c13ea7d5b2a2fec304f12b3db77c8028caea;hp=0b27899a2762221658936f06381f75dcb1193395;hpb=31bb4e18ba6804c0d83fc34f11e89adc67271ea9;p=gdcm.git diff --git a/Testing/CMakeLists.txt b/Testing/CMakeLists.txt index 0b27899a..9ff25734 100644 --- a/Testing/CMakeLists.txt +++ b/Testing/CMakeLists.txt @@ -15,17 +15,22 @@ ENDIF(NOT CMAKE_HAVE_STDINT_H) SET(TEST_SOURCES - PrintHeader.cxx - testWrite.cxx - testChangeEntete.cxx + PrintHeader.cxx #require test.acr + bug1.cxx #require test.acr + dcm2acr.cxx #require test.acr hashtest.cxx - bug1.cxx - pourFindTaggs.cxx - dcm2acr.cxx - PrintDicomDir.cxx makeDicomDir.cxx testDicomDir.cxx + testWrite.cxx ) +IF (GDCM_DATA_ROOT) + # add tests that require data + SET(TEST_SOURCES ${TEST_SOURCES} + PrintDicomDir.cxx + pourFindTaggs.cxx + testChangeEntete.cxx + ) +ENDIF (GDCM_DATA_ROOT) # include stuff INCLUDE_DIRECTORIES(