]> Creatis software - gdcm.git/blobdiff - vtk/CMakeLists.txt
Add some commented out lines to prepare future version of 'Full DICOMDIR' stuff
[gdcm.git] / vtk / CMakeLists.txt
index a7f2b73dd17fd9bd025f89d1c08ee7548b179697..6cb8cd04031f70f2806349138c260e9c5110a9c7 100644 (file)
@@ -13,6 +13,7 @@ INCLUDE_DIRECTORIES(
 
 SET(VTKGDCM_LIB_SRCS
   vtkGdcmReader.cxx
+  vtkGdcmWriter.cxx
 )
 
 #-----------------------------------------------------------------------------
@@ -45,9 +46,27 @@ TARGET_LINK_LIBRARIES(vtkgdcmViewer
   vtkgdcm
   vtkRendering
 )
+ADD_EXECUTABLE(vtkgdcmViewer2 vtkgdcmViewer2.cxx)
+TARGET_LINK_LIBRARIES(vtkgdcmViewer2
+  vtkgdcm
+  vtkRendering
+)
 
+#-----------------------------------------------------------------------------
+SET(vtkWriteDicom_SOURCES
+  vtkWriteDicom.cxx
+)
+ADD_EXECUTABLE(vtkWriteDicom ${vtkWriteDicom_SOURCES})
+TARGET_LINK_LIBRARIES(vtkWriteDicom
+  vtkgdcm
+  vtkIO
+  vtkRendering
+)
+
+#-----------------------------------------------------------------------------
 # Install vtk header
 INSTALL_FILES(/include FILES vtkGdcmReader.h)
+INSTALL_FILES(/include FILES vtkGdcmWriter.h)
 
 INSTALL_TARGETS(/lib/ vtkgdcm)