#-----------------------------------------------------------------------------
# VTK GDCM Reader subdir
+# Rebuild gdcm whenever a file starting with vtk* is modified
+INCLUDE_REGULAR_EXPRESSION("^vtk.*$")
#-----------------------------------------------------------------------------
# Include the VTK library
vtkgdcm
vtkRendering
)
+ADD_EXECUTABLE(vtkgdcmViewer2 vtkgdcmViewer2.cxx)
+TARGET_LINK_LIBRARIES(vtkgdcmViewer2
+ vtkgdcm
+ vtkRendering
+)
#-----------------------------------------------------------------------------
SET(vtkWriteDicom_SOURCES
vtkRendering
)
-#-----------------------------------------------------------------------------
-SET(GdcmToBaseline_SOURCES
- GdcmToBaseline.cxx
-)
-ADD_EXECUTABLE(GdcmToBaseline ${GdcmToBaseline_SOURCES})
-TARGET_LINK_LIBRARIES(GdcmToBaseline
- vtkgdcm
- vtkIO
- vtkImaging
- vtkRendering
-)
-
#-----------------------------------------------------------------------------
# Install vtk header
INSTALL_FILES(/include FILES vtkGdcmReader.h)