]> Creatis software - FrontAlgorithms.git/blobdiff - appli/examples/CMakeLists.txt
...
[FrontAlgorithms.git] / appli / examples / CMakeLists.txt
index 5efc07716857475f7c6836e27a581e6145bd2ba8..b2d145093e534171834808ce3bbc30a8c0449470 100644 (file)
@@ -1,75 +1,35 @@
-IF(USE_VTK)
-  SET(
-    SIMPLE_VTK_EXAMPLES
-    example_Image_RegionGrow_AllPixels
-    example_Image_RegionGrow_AllRGBPixels
-    example_Image_RegionGrow_GaussianModelEstimation
-    example_Image_Dijkstra_CostFromInput
-    example_Image_Dijkstra_CostFromRGBInput
-    example_Image_Dijkstra_DanielssonCost
-    example_Image_Dijkstra_DanielssonCost_TwoSeedsPath
+SET(
+  SIMPLE_EXAMPLES
+  example_Image_Dijkstra_EndPointDetection_WithoutVTK
+  )
+FOREACH(EX ${SIMPLE_EXAMPLES})
+  ADD_EXECUTABLE(${EX} ${EX}.cxx)
+  TARGET_LINK_LIBRARIES(${EX} FrontAlgorithms)
+ENDFOREACH(EX)
+
+SET(
+  SIMPLE_VTK_EXAMPLES
+  example_Image_RegionGrow_AllPixels
+  example_Image_RegionGrow_AllRGBPixels
+  example_Image_RegionGrow_ConnectedPixels
+  example_Image_RegionGrow_ConnectedRGBPixels
+  example_Image_Dijkstra_AbsoluteDifferenceCost
+  example_Image_Dijkstra_EndPointDetection
+  #  example_Image_RegionGrow_GaussianModelEstimation
+  #  example_Image_IncrementalRegionGrow_Thresholds
+  #  example_Image_Dijkstra_CostFromInput
+  #  example_Image_Dijkstra_CostFromRGBInput
+  #  example_Image_Dijkstra_DanielssonCost
+  #  example_Image_Dijkstra_DanielssonCost_TwoSeedsPath
+  #  example_Image_Dijkstra_LabelSkeleton
+  #  example_ShowSkeleton
+  #  example_CircleOfWillis
+  )
+FOREACH(EX ${SIMPLE_VTK_EXAMPLES})
+  ADD_EXECUTABLE(${EX} ${EX}.cxx)
+  TARGET_LINK_LIBRARIES(
+    ${EX} FrontAlgorithms
     )
-  FOREACH(EX ${SIMPLE_VTK_EXAMPLES})
-    ADD_EXECUTABLE(${EX} ${EX}.cxx)
-    TARGET_LINK_LIBRARIES(${EX} FrontAlgorithms)
-  ENDFOREACH(EX)
-ENDIF(USE_VTK)
-
-#IF(BUILD_EXAMPLES)
-#  SET(
-#    APPLIS
-#    example_Thinning
-#    example_BinaryDistanceMap
-#    example_HausdorffDistance
-#    example_ImageAlgorithmRegionGrow_00
-#    example_ImageAlgorithmDijkstra_00
-#    example_ImageAlgorithmFastMarching_00
-#    )
-
-#  FOREACH(APP ${APPLIS})
-#    ADD_EXECUTABLE(${APP} ${APP}.cxx)
-#    TARGET_LINK_LIBRARIES(${APP} FrontAlgorithms)
-#  ENDFOREACH(APP)
-
-#  IF(USE_VTK)
-#    SET(
-#      vtk_APPLIS
-#      example_ImageAlgorithmRegionGrow_01
-#      example_ImageAlgorithmRegionGrow_MultipleThresholds
-#      example_ImageAlgorithmDijkstra_01
-#      example_ImageAlgorithmDijkstra_02
-#      example_ImageAlgorithmDijkstra_03
-#      example_ImageAlgorithmFastMarching_01
-#      example_ImageAlgorithm_Skeletonization
-#      )
-
-#    FOREACH(APP ${vtk_APPLIS})
-#      ADD_EXECUTABLE(${APP} ${APP}.cxx)
-#      TARGET_LINK_LIBRARIES(
-#        ${APP}
-#        FrontAlgorithms
-#        ${VTK_LIBRARIES} vtkIOLegacy
-#        )
-#    ENDFOREACH(APP)
-
-#    IF(USE_cpPlugins)
-#      SET(
-#        cpPlugins_APPLIS
-#        example_ImageAlgorithmRegionGrow_GaussianModelEstimator
-#        )
-
-#      FOREACH(APP ${cpPlugins_APPLIS})
-#        ADD_EXECUTABLE(${APP} ${APP}.cxx)
-#        TARGET_LINK_LIBRARIES(
-#          ${APP}
-#          FrontAlgorithms
-#          ${cpPlugins_Extensions_LIBRARY_NAME}
-#          )
-#      ENDFOREACH(APP)
-
-#    ENDIF(USE_cpPlugins)
-
-#  ENDIF(USE_VTK)
-#ENDIF(BUILD_EXAMPLES)
+ENDFOREACH(EX)
 
 ## eof - $RCSfile$