]> Creatis software - clitk.git/commitdiff
Remove verbose debug
authorDavid Sarrut <david.sarrut@gmail.com>
Fri, 3 Feb 2012 06:57:12 +0000 (07:57 +0100)
committerDavid Sarrut <david.sarrut@creatis.insa-lyon.fr>
Thu, 30 May 2013 08:31:47 +0000 (10:31 +0200)
common/CMakeLists.txt

index 672023e08e723cd8b38abe99d2b4cd1639257bc1..99e01a7fc33ad9ed7797d2651b0634653f8db357 100644 (file)
@@ -81,39 +81,27 @@ ENDIF(CLITK_USE_SYSTEM_GDCM)
 
 TARGET_LINK_LIBRARIES(clitkCommon vtkCommon vtkImaging ${ITK_LIBRARIES} ${CLITK_GDCM_LIBRARIES})
 
+ADD_LIBRARY(clitkDicomRTStruct STATIC
+  clitkDicomRT_Contour.cxx
+  clitkDicomRT_ROI.cxx
+  clitkDicomRT_StructureSet.cxx
+  clitkDicomRTStruct2ImageFilter.cxx
+  )
+
 IF (CLITK_USE_SYSTEM_GDCM)
-  DD(CLITK_USE_SYSTEM_GDCM)
   FIND_PACKAGE(GDCM REQUIRED)
   INCLUDE(${GDCM_USE_FILE})
-  
   FIND_LIBRARY(LIBVTKGDCM vtkgdcm ${GDCM_LIBRARY_DIRS})
   SET(GDCM_LIBRARIES ${LIBVTKGDCM})
-
-  DD(GDCM_USE_FILE)
-  DD(GDCM_LIBRARY_DIRS)
-  DD(GDCM_LIBRARIES)
-
-  ADD_LIBRARY(clitkDicomRTStruct STATIC
-    clitkDicomRT_Contour.cxx
-    clitkDicomRT_ROI.cxx
-    clitkDicomRT_StructureSet.cxx
-    clitkDicomRTStruct2ImageFilter.cxx
-    vtkGDCMPolyDataReader.cxx
-    vtkGDCMPolyDataWriter.cxx
-    )
-  TARGET_LINK_LIBRARIES(clitkDicomRTStruct ${ITK_LIBRARIES} ${GDCM_LIBRARIES})
-
-ELSE()
-  ADD_LIBRARY(clitkDicomRTStruct STATIC
-    clitkDicomRT_Contour.cxx
-    clitkDicomRT_ROI.cxx
-    clitkDicomRT_StructureSet.cxx
-    clitkDicomRTStruct2ImageFilter.cxx
-    )
+  # DD(GDCM_USE_FILE)
+  # DD(GDCM_INCLUDE_DIRS)
+  # DD(GDCM_LIBRARY_DIRS)
+  # DD(GDCM_LIBRARIES)
+  #TARGET_LINK_LIBRARIES(clitkDicomRTStruct ${ITK_LIBRARIES} ${GDCM_LIBRARIES})
 ENDIF()
 
 
-TARGET_LINK_LIBRARIES(clitkDicomRTStruct vtkHybrid ${CLITK_GDCM_LIBRARIES} ${GDCM_LIBRARIES} 
+TARGET_LINK_LIBRARIES(clitkDicomRTStruct vtkHybrid ${CLITK_GDCM_LIBRARIES} ${GDCM_LIBRARIES}) 
 
 #ADD_LIBRARY(clitkCommonShared SHARED ${clitkCommon_SRC})
 #SET_TARGET_PROPERTIES(clitkCommonShared PROPERTIES COMPILE_FLAGS -fPIC)