1 #-----------------------------------------------------------------------------
\r
2 # VTK GDCM Reader subdir
\r
4 #-----------------------------------------------------------------------------
\r
5 # Need gdcm header files
\r
7 ${GDCM_SOURCE_DIR}/src/
\r
11 SET(VTKGDCM_LIB_SRCS
\r
15 #-----------------------------------------------------------------------------
\r
16 # Create vtkgdcm library
\r
17 ADD_LIBRARY(vtkgdcm ${VTKGDCM_LIB_SRCS})
\r
18 TARGET_LINK_LIBRARIES(vtkgdcm
\r
25 #-----------------------------------------------------------------------------
\r
26 # See with frog why m4 didn't link to lib, and include cxx file instead ?
\r
27 SET(vtkgdcmdemo_SOURCES
\r
28 testvtkGdcmReader.cxx
\r
31 ADD_EXECUTABLE(vtkgdcmdemo ${vtkgdcmdemo_SOURCES})
\r
32 TARGET_LINK_LIBRARIES(vtkgdcmdemo
\r
38 #-----------------------------------------------------------------------------
\r
39 # See with frog why m4 didn't link to lib, and include cxx file instead ?
\r
40 SET(vtkgdcmViewer_SOURCES
\r
44 ADD_EXECUTABLE(vtkgdcmViewer ${vtkgdcmViewer_SOURCES})
\r
45 TARGET_LINK_LIBRARIES(vtkgdcmViewer
\r
50 # Install vtk header
\r
51 INSTALL_FILES(/include FILES vtkGdcmReader.h)
\r
53 INSTALL_TARGETS(/lib/ vtkgdcm)
\r