X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=vtk%2FCMakeLists.txt;h=6cb8cd04031f70f2806349138c260e9c5110a9c7;hb=bfc89bbbac631c3271dd5b628610b06d30845f41;hp=69028cc66a7f569b902b7117c9dd90c2df00c113;hpb=2ca09ddbc04e1ec02aa49e8815925cceb49b2402;p=gdcm.git diff --git a/vtk/CMakeLists.txt b/vtk/CMakeLists.txt index 69028cc6..6cb8cd04 100644 --- a/vtk/CMakeLists.txt +++ b/vtk/CMakeLists.txt @@ -46,6 +46,11 @@ TARGET_LINK_LIBRARIES(vtkgdcmViewer vtkgdcm vtkRendering ) +ADD_EXECUTABLE(vtkgdcmViewer2 vtkgdcmViewer2.cxx) +TARGET_LINK_LIBRARIES(vtkgdcmViewer2 + vtkgdcm + vtkRendering +) #----------------------------------------------------------------------------- SET(vtkWriteDicom_SOURCES @@ -58,21 +63,10 @@ TARGET_LINK_LIBRARIES(vtkWriteDicom 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) +INSTALL_FILES(/include FILES vtkGdcmWriter.h) INSTALL_TARGETS(/lib/ vtkgdcm)