]> Creatis software - FrontAlgorithms.git/blobdiff - appli/examples/CMakeLists.txt
...
[FrontAlgorithms.git] / appli / examples / CMakeLists.txt
index 16b2c265e850323c5d1c39ebb56f59d68ecec099..5d570b6a1da39e73e23170206a78753e79e4d6ed 100644 (file)
@@ -1,35 +1,4 @@
-#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
-    )
-ENDFOREACH(EX)
+ADD_EXECUTABLE(fpa_examples_ImageDijkstra ImageDijkstra.cxx)
+TARGET_LINK_LIBRARIES(fpa_examples_ImageDijkstra ${ITK_LIBRARIES} ${VTK_LIBRARIES})
 
 ## eof - $RCSfile$