From 786ec05267c2b2892666e1a2ee3ca8a5d2c877a1 Mon Sep 17 00:00:00 2001 From: malaterre Date: Mon, 20 Dec 2004 18:51:33 +0000 Subject: [PATCH] ENH: Each time a *.dic file is changed, force a complete rebuild of Dicts/ directory --- Dicts/CMakeLists.txt | 4 ++++ 1 file changed, 4 insertions(+) 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) -- 2.46.1