# Rebuild gdcm whenever a file starting with vtk* is modified
INCLUDE_REGULAR_EXPRESSION("^vtk.*$")
-
if(COMMAND cmake_policy)
cmake_policy(SET CMP0003 NEW)
endif(COMMAND cmake_policy)
vtkGdcmWriter.cxx
vtkImageColorViewer.cxx
vtkImageMapToWindowLevelColors2.cxx
- # vtkGdcm4DSplitter.cxx
+ vtkGdcm4DSplitter.cxx
)
ELSE("${VTK_MAJOR_VERSION}" GREATER 4)
SET(VTKGDCM_LIB_SRCS
)
#-----------------------------------------------------------------------------
-SET(vtkgdcmViewer_SOURCES
- vtkgdcmViewer.cxx
-)
+#ADD_EXECUTABLE(exUnMosaic2 exUnMosaic2.cxx)
+#TARGET_LINK_LIBRARIES(exUnMosaic2
+# vtkgdcm
+ ##vtkRendering
+#)
-#SET(vtkJPEGViewer_SOURCES
-# vtkJPEGViewer.cxx
+#ADD_EXECUTABLE(exUnMosaic3 exUnMosaic3.cxx)
+#TARGET_LINK_LIBRARIES(exUnMosaic3
+# vtkgdcm
+# #vtkRendering
#)
-#SET(vtkJPEGViewer2_SOURCES
-# vtkJPEGViewer2.cxx
+#ADD_EXECUTABLE(exUnMosaic4 exUnMosaic4.cxx)
+#TARGET_LINK_LIBRARIES(exUnMosaic4
+# vtkgdcm
+# #vtkRendering
#)
+#-----------------------------------------------------------------------------
+SET(vtkgdcmViewer_SOURCES
+ vtkgdcmViewer.cxx
+)
+
+SET(vtkgdcmViewer2_SOURCES
+ vtkgdcmViewer2.cxx
+)
# let's do some APPLE/WIN32 magic here
#IF(WIN32)
# vtkRendering
#)
+#-----------------------------------------------------------------------------
+SET(test4DSplitter_SOURCES
+ test4DSplitter.cxx
+)
+
+ADD_EXECUTABLE(test4DSplitter ${GUI_EXECUTABLE} ${test4DSplitter_SOURCES})
+TARGET_LINK_LIBRARIES( test4DSplitter
+ vtkgdcm
+ vtkRendering
+)
+
+#-----------------------------------------------------------------------------
+#SET(testEmilie1_SOURCES
+# testEmilie1.cxx
+#)
+#
+#ADD_EXECUTABLE(testEmilie1 ${GUI_EXECUTABLE} ${testEmilie1_SOURCES})
+#TARGET_LINK_LIBRARIES( testEmilie1
+# vtkgdcm
+#)
+#-----------------------------------------------------------------------------
+
ADD_EXECUTABLE(vtkgdcmViewer2 ${GUI_EXECUTABLE} vtkgdcmViewer2.cxx)
TARGET_LINK_LIBRARIES(vtkgdcmViewer2
vtkgdcm
IF(NOT GDCM_INSTALL_NO_DEVELOPMENT)
INSTALL_FILES(${GDCM_INSTALL_INCLUDE_DIR} FILES vtkGdcmReader.h)
INSTALL_FILES(${GDCM_INSTALL_INCLUDE_DIR} FILES vtkGdcmWriter.h)
+ INSTALL_FILES(${GDCM_INSTALL_INCLUDE_DIR} FILES vtkGdcm4DSplitter.h)
ENDIF(NOT GDCM_INSTALL_NO_DEVELOPMENT)
IF(NOT GDCM_INSTALL_NO_LIBRARIES)