]> Creatis software - gdcm.git/blobdiff - vtk/CMakeLists.txt
new one
[gdcm.git] / vtk / CMakeLists.txt
index 8456832b520c1f8375b3804cc45debd7cd496048..15ae62f19bfb5d460d394ac89e5bf3b687d583c8 100644 (file)
@@ -8,10 +8,12 @@ INCLUDE_REGULAR_EXPRESSION("^vtk.*$")
        cmake_policy(SET CMP0003 NEW)
      endif(COMMAND cmake_policy)
 
-
-
 #-----------------------------------------------------------------------------
 # Include the VTK library
+
+# EED 5/Mars/2010
+SET(VTK_BUILD_SETTINGS_FILE OFF)
+
 INCLUDE(${VTK_USE_FILE})
 
 # Need gdcm header files
@@ -27,6 +29,7 @@ IF("${VTK_MAJOR_VERSION}" GREATER 4)
     vtkGdcmWriter.cxx
     vtkImageColorViewer.cxx
     vtkImageMapToWindowLevelColors2.cxx
+    vtkGdcm4DSplitter.cxx
   )
 ELSE("${VTK_MAJOR_VERSION}" GREATER 4)
   SET(VTKGDCM_LIB_SRCS
@@ -65,13 +68,31 @@ TARGET_LINK_LIBRARIES(vtkgdcmdemo
 SET(Bmp2Dcm_SOURCES
   Bmp2Dcm.cxx
 )
+
 ADD_EXECUTABLE(Bmp2Dcm ${Bmp2Dcm_SOURCES})
 TARGET_LINK_LIBRARIES(Bmp2Dcm
   vtkgdcm
   vtkImaging
-
 )
 
+#-----------------------------------------------------------------------------
+#ADD_EXECUTABLE(exUnMosaic2 exUnMosaic2.cxx)
+#TARGET_LINK_LIBRARIES(exUnMosaic2
+#  vtkgdcm
+  ##vtkRendering
+#)
+
+#ADD_EXECUTABLE(exUnMosaic3 exUnMosaic3.cxx)
+#TARGET_LINK_LIBRARIES(exUnMosaic3
+#  vtkgdcm
+#  #vtkRendering
+#)
+
+#ADD_EXECUTABLE(exUnMosaic4 exUnMosaic4.cxx)
+#TARGET_LINK_LIBRARIES(exUnMosaic4
+#  vtkgdcm
+#  #vtkRendering
+#)
 #-----------------------------------------------------------------------------
 SET(vtkgdcmViewer_SOURCES
   vtkgdcmViewer.cxx
@@ -116,6 +137,26 @@ TARGET_LINK_LIBRARIES(vtkgdcmViewer
 #  vtkRendering
 #)
 
+#-----------------------------------------------------------------------------
+SET(test4DSplitter_SOURCES
+  test4DSplitter.cxx
+)
+
+ADD_EXECUTABLE(test4DSplitter ${GUI_EXECUTABLE} ${test4DSplitter_SOURCES})
+TARGET_LINK_LIBRARIES( test4DSplitter
+  vtkgdcm 
+)
+#-----------------------------------------------------------------------------
+#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
@@ -134,7 +175,6 @@ TARGET_LINK_LIBRARIES(vtkgdcmSerieViewer2
   vtkRendering
 )
 
-
 #-----------------------------------------------------------------------------
 SET(vtkWriteDicom_SOURCES
   vtkWriteDicom.cxx
@@ -168,10 +208,10 @@ IF(NOT GDCM_INSTALL_NO_LIBRARIES)
   INSTALL_TARGETS(${GDCM_INSTALL_LIB_DIR} vtkgdcm)
   INSTALL_TARGETS(${GDCM_INSTALL_BIN_DIR} vtkgdcmViewer)
   INSTALL_TARGETS(${GDCM_INSTALL_BIN_DIR} vtkgdcmViewer)
-  
+
  # INSTALL_TARGETS(${GDCM_INSTALL_BIN_DIR} vtkJPEGViewer)
  # INSTALL_TARGETS(${GDCM_INSTALL_BIN_DIR} vtkJPEGViewer2)
-      
+
   INSTALL_TARGETS(${GDCM_INSTALL_BIN_DIR} vtkgdcmSerieViewer)
 ENDIF(NOT GDCM_INSTALL_NO_LIBRARIES)