From: malaterre Date: Mon, 20 Dec 2004 18:51:33 +0000 (+0000) Subject: ENH: Each time a *.dic file is changed, force a complete rebuild of Dicts/ directory X-Git-Tag: Version1.0.bp~488 X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;h=786ec05267c2b2892666e1a2ee3ca8a5d2c877a1;p=gdcm.git ENH: Each time a *.dic file is changed, force a complete rebuild of Dicts/ directory --- diff --git a/Dicts/CMakeLists.txt b/Dicts/CMakeLists.txt index 098f6c85..086b408c 100644 --- a/Dicts/CMakeLists.txt +++ b/Dicts/CMakeLists.txt @@ -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)