]> Creatis software - FrontAlgorithms.git/blobdiff - appli/examples/CMakeLists.txt
Gaussian model estimator debugged
[FrontAlgorithms.git] / appli / examples / CMakeLists.txt
index 3e000b89de5836599318ee1557fa7fb3544db10d..cf7ebf4198178df58fd6729452bdff15fcf15dea 100644 (file)
@@ -7,80 +7,23 @@ FOREACH(EX ${SIMPLE_EXAMPLES})
   TARGET_LINK_LIBRARIES(${EX} FrontAlgorithms)
 ENDFOREACH(EX)
 
-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
-    example_Image_Dijkstra_EndPointDetection
-    example_ShowSkeleton
+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
+  example_Image_Dijkstra_EndPointDetection
+  example_ShowSkeleton
+  )
+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$