]> Creatis software - clitk.git/blobdiff - vv/CMakeLists.txt
improvements to the build process:
[clitk.git] / vv / CMakeLists.txt
index ae9d80a2b1a86faacdd93c3945f1b2cfdfb17fbc..40d69e899bbbc39ff088d0dab4831eb8261b636e 100644 (file)
@@ -21,6 +21,7 @@ SET(vv_SRCS
   vvSurfaceViewerDialog.cxx
   vvMainWindowBase.cxx
   vvMainWindow.cxx
+  vvProgressDialog.cxx
   vvDeformationDialog.cxx
   vvImageWarp.cxx
   vvDeformableRegistration.cxx
@@ -46,6 +47,7 @@ SET(vv_SRCS
   vvMidPosition.cxx
   vvImageMapToWLColors.cxx
   vvIntensityValueSlider.cxx
+  vvThreadedFilter.cxx
   vvToolManager.cxx
   vvToolCreatorBase.cxx
   vvToolWidgetBase.cxx
@@ -67,9 +69,13 @@ SET(vv_SRCS
   vvROIActor.cxx
   vvToolResample.cxx
   vvBlendImageActor.cxx
-#  vvToolExtractLung.cxx
+  vvLabelImageLoaderWidget.cxx
+  vvToolExtractPatient.cxx
+  vvToolExtractLung.cxx
+  vvToolPlastimatch.cxx
 #  vvToolConnectedComponentLabeling.cxx
-  )
+)
+
 #=========================================================
 
 #=========================================================
@@ -94,6 +100,7 @@ QT4_WRAP_CPP(vv_SRCS
   vvSlicerManager.h
   vvStructSelector.h
   vvIntensityValueSlider.h
+  vvThreadedFilter.h
   vvToolCreatorBase.h
 #  vvToolFoo.h
 #  vvToolFooWithWidgetBase.h
@@ -111,7 +118,10 @@ QT4_WRAP_CPP(vv_SRCS
   vvStructureSetActor.h
   vvROIActor.h
   vvToolResample.h
-#  vvToolExtractLung.h
+  vvLabelImageLoaderWidget.h
+  vvToolExtractPatient.h
+  vvToolExtractLung.h
+  vvToolPlastimatch.h
 #  vvToolConnectedComponentLabeling.h
   )
 
@@ -143,7 +153,10 @@ QT4_WRAP_UI(vv_UI_CXX
   qt_ui/vvToolImageArithm.ui
   qt_ui/vvToolStructureSetManager.ui
   qt_ui/vvToolResample.ui
-#  qt_ui/vvToolExtractLung.ui
+  qt_ui/vvLabelImageLoaderWidget.ui
+  qt_ui/vvToolExtractPatient.ui
+  qt_ui/vvToolExtractLung.ui
+  qt_ui/vvToolPlastimatch.ui
 #  qt_ui/vvToolConnectedComponentLabeling.ui
   )
 
@@ -198,7 +211,14 @@ ENDIF(WIN32)
 
 LINK_DIRECTORIES(${QT_INCLUDES})
 ADD_EXECUTABLE(vv ${vv_SRCS} vv.cxx ${vv_UI_CXX} ${EXE_ICON})
-TARGET_LINK_LIBRARIES(vv clitkCommon clitkDicomRTStruct clitkFilters ${ITK_LIBRARIES} QVTK vtkHybrid)
+ADD_DEPENDENCIES(vv TOOLS_GGOS SEGMENTATION_GGOS)
+TARGET_LINK_LIBRARIES(vv clitkDicomRTStruct 
+#Libs for generic filters with long compilation times
+clitkImageConvertLib 
+clitkImageResampleLib
+#Libs for _ggo.c files
+clitkSegmentationGgoLib clitkToolsGgoLib
+clitkCommon ${ITK_LIBRARIES} QVTK vtkHybrid)
 
 #=========================================================