瀏覽代碼

Disabling the DCMTK force_rebuild step.

Sascha Zelzer 14 年之前
父節點
當前提交
f6c3e844ff
共有 1 個文件被更改,包括 12 次插入8 次删除
  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