]> Creatis software - gdcm.git/commitdiff
ENH: Each time a *.dic file is changed, force a complete rebuild of Dicts/ directory
authormalaterre <malaterre>
Mon, 20 Dec 2004 18:51:33 +0000 (18:51 +0000)
committermalaterre <malaterre>
Mon, 20 Dec 2004 18:51:33 +0000 (18:51 +0000)
Dicts/CMakeLists.txt

index 098f6c85c6b8f6c00e750303a6492eff67503862..086b408ca564b85dca87241baba69141e94aa678 100644 (file)
@@ -67,6 +67,10 @@ ENDFOREACH(line)
 SET(DICOM_DIR_DICTIONARY "${DICOM_DIR_DICTIONARY} \n { 0,0,0,0 }")
 
 # See above
+FOREACH(file dicomV3.dic  dicomTS.dic dicomVR.dic DicomDir.dic)
+  CONFIGURE_FILE("${GDCM_SOURCE_DIR}/Dicts/${file}"
+    "${GDCM_BINARY_DIR}/Dicts/${file}.out")
+ENDFOREACH(file)
 CONFIGURE_FILE("${GDCM_SOURCE_DIR}/src/gdcmDefaultDicts.cxx.in" "${GDCM_BINARY_DIR}/src/gdcmDefaultDicts.cxx" IMMEDIATE)