X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=gdcmPython%2Fdemo%2FCMakeLists.txt;h=eaae23a84fd9853c42c3f0c0aa52322c8a310768;hb=91e8773acafd98b328f10715d8c8964fded57449;hp=4c76a3bae078854150d723300c8a8789d1eee888;hpb=def46e1406409aebffa69097d83d7e1730352497;p=gdcm.git diff --git a/gdcmPython/demo/CMakeLists.txt b/gdcmPython/demo/CMakeLists.txt index 4c76a3ba..eaae23a8 100644 --- a/gdcmPython/demo/CMakeLists.txt +++ b/gdcmPython/demo/CMakeLists.txt @@ -25,6 +25,9 @@ IF(PYTHON_EXECUTABLE) ADD_TEST(Python-PrintDicomDir ${PYTHON_EXECUTABLE} ${GDCM_BINARY_DIR}/gdcmPython/demo/PrintDicomDir.py ) + ADD_TEST(Python-MakeDicomDir ${PYTHON_EXECUTABLE} + ${GDCM_BINARY_DIR}/gdcmPython/demo/PrintDicomDir.py + ) ELSE(PYTHON_EXECUTABLE) MESSAGE(FATAL_ERROR "You requested testing for python, but python was not found") @@ -48,6 +51,11 @@ CONFIGURE_FILE( ${GDCM_BINARY_DIR}/gdcmPython/demo/PrintDicomDir.py ) +CONFIGURE_FILE( + ${GDCM_SOURCE_DIR}/gdcmPython/demo/MakeDicomDir.py.in + ${GDCM_BINARY_DIR}/gdcmPython/demo/MakeDicomDir.py +) + CONFIGURE_FILE( ${GDCM_SOURCE_DIR}/gdcmPython/demo/PrintDict.py.in ${GDCM_BINARY_DIR}/gdcmPython/demo/PrintDict.py