Explorar el Código

Disabling the DCMTK force_rebuild step.

Sascha Zelzer hace 14 años
padre
commit
f6c3e844ff
Se han modificado 1 ficheros con 12 adiciones y 8 borrados
  1. 12 8
      CMakeExternals/DCMTK.cmake

+ 12 - 8
CMakeExternals/DCMTK.cmake

@@ -45,14 +45,18 @@ IF(${add_project})
       )
     SET(DCMTK_DIR ${ep_install_dir})
 
-    ExternalProject_Add_Step(${proj} force_rebuild
-      COMMENT "Force ${proj} re-build"
-      DEPENDERS build    # Steps that depend on this step
-      ALWAYS 1
-      WORKING_DIRECTORY ${CMAKE_BINARY_DIR}/${proj}-build
-      DEPENDS
-        ${proj_DEPENDENCIES}
-      )
+# This was used during heavy development on DCMTK itself.
+# Disabling it for now. (It also leads to to build errors
+# with the XCode CMake generator on Mac).
+#
+#    ExternalProject_Add_Step(${proj} force_rebuild
+#      COMMENT "Force ${proj} re-build"
+#      DEPENDERS build    # Steps that depend on this step
+#      ALWAYS 1
+#      WORKING_DIRECTORY ${CMAKE_BINARY_DIR}/${proj}-build
+#      DEPENDS
+#        ${proj_DEPENDENCIES}
+#      )
       
     # Since DCMTK is statically build, there is not need to add its corresponding 
     # library output directory to CTK_EXTERNAL_LIBRARY_DIRS