X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=appli%2Fexamples%2FCMakeLists.txt;h=b2d145093e534171834808ce3bbc30a8c0449470;hb=67b67cafced0d039cf6ff2ccf7839088fd091395;hp=520a4a3eede926705f4592a4c7c767e66f49f56a;hpb=73e3158dab6ffe30c215b2899fd80ee868f330ce;p=FrontAlgorithms.git diff --git a/appli/examples/CMakeLists.txt b/appli/examples/CMakeLists.txt index 520a4a3..b2d1450 100644 --- a/appli/examples/CMakeLists.txt +++ b/appli/examples/CMakeLists.txt @@ -1,32 +1,35 @@ -IF(BUILD_EXAMPLES) - SET( - APPLIS - example_ImageAlgorithmRegionGrow_00 - example_ImageAlgorithmDijkstra_00 - example_ImageAlgorithmFastMarching_00 - ) - - FOREACH(APP ${APPLIS}) - ADD_EXECUTABLE(${APP} ${APP}.cxx) - TARGET_LINK_LIBRARIES(${APP} FrontAlgorithms) - ENDFOREACH(APP) +SET( + SIMPLE_EXAMPLES + example_Image_Dijkstra_EndPointDetection_WithoutVTK + ) +FOREACH(EX ${SIMPLE_EXAMPLES}) + ADD_EXECUTABLE(${EX} ${EX}.cxx) + TARGET_LINK_LIBRARIES(${EX} FrontAlgorithms) +ENDFOREACH(EX) - IF(USE_VTK) - SET( - vtk_APPLIS - example_ImageAlgorithmRegionGrow_01 - example_ImageAlgorithmRegionGrow_MultipleThresholds - example_ImageAlgorithmDijkstra_01 - example_ImageAlgorithmDijkstra_02 - example_ImageAlgorithmFastMarching_01 - example_ImageAlgorithm_Skeletonization - ) - - FOREACH(APP ${vtk_APPLIS}) - ADD_EXECUTABLE(${APP} ${APP}.cxx) - TARGET_LINK_LIBRARIES(${APP} FrontAlgorithms) - ENDFOREACH(APP) - ENDIF(USE_VTK) -ENDIF(BUILD_EXAMPLES) +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) ## eof - $RCSfile$