X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=vtk%2FCMakeLists.txt;h=69028cc66a7f569b902b7117c9dd90c2df00c113;hb=e362e5566f4388a31bcff8eae74d59664b9c31e6;hp=c3b68cc298440fa2b1004edd1fa51f10c72dabda;hpb=48841439120f101a24c7430bd746bff8af8daa77;p=gdcm.git diff --git a/vtk/CMakeLists.txt b/vtk/CMakeLists.txt index c3b68cc2..69028cc6 100644 --- a/vtk/CMakeLists.txt +++ b/vtk/CMakeLists.txt @@ -13,6 +13,7 @@ INCLUDE_DIRECTORIES( SET(VTKGDCM_LIB_SRCS vtkGdcmReader.cxx + vtkGdcmWriter.cxx ) #----------------------------------------------------------------------------- @@ -46,6 +47,17 @@ TARGET_LINK_LIBRARIES(vtkgdcmViewer vtkRendering ) +#----------------------------------------------------------------------------- +SET(vtkWriteDicom_SOURCES + vtkWriteDicom.cxx +) +ADD_EXECUTABLE(vtkWriteDicom ${vtkWriteDicom_SOURCES}) +TARGET_LINK_LIBRARIES(vtkWriteDicom + vtkgdcm + vtkIO + vtkRendering +) + #----------------------------------------------------------------------------- SET(GdcmToBaseline_SOURCES GdcmToBaseline.cxx