]> Creatis software - gdcm.git/blobdiff - vtk/CMakeLists.txt
* FIX : last commit errors... sorry
[gdcm.git] / vtk / CMakeLists.txt
index c3b68cc298440fa2b1004edd1fa51f10c72dabda..69028cc66a7f569b902b7117c9dd90c2df00c113 100644 (file)
@@ -13,6 +13,7 @@ INCLUDE_DIRECTORIES(
 
 SET(VTKGDCM_LIB_SRCS
   vtkGdcmReader.cxx
+  vtkGdcmWriter.cxx
 )
 
 #-----------------------------------------------------------------------------
@@ -46,6 +47,17 @@ TARGET_LINK_LIBRARIES(vtkgdcmViewer
   vtkRendering
 )
 
+#-----------------------------------------------------------------------------
+SET(vtkWriteDicom_SOURCES
+  vtkWriteDicom.cxx
+)
+ADD_EXECUTABLE(vtkWriteDicom ${vtkWriteDicom_SOURCES})
+TARGET_LINK_LIBRARIES(vtkWriteDicom
+  vtkgdcm
+  vtkIO
+  vtkRendering
+)
+
 #-----------------------------------------------------------------------------
 SET(GdcmToBaseline_SOURCES
   GdcmToBaseline.cxx