X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=appli%2Fexamples%2FCMakeLists.txt;h=b2d145093e534171834808ce3bbc30a8c0449470;hb=67b67cafced0d039cf6ff2ccf7839088fd091395;hp=2d0ebe63e8ac5ba7e7296c7299c37a22fbc9a71c;hpb=dc4791c63d865f011d4fcac4112deb69e860491c;p=FrontAlgorithms.git diff --git a/appli/examples/CMakeLists.txt b/appli/examples/CMakeLists.txt index 2d0ebe6..b2d1450 100644 --- a/appli/examples/CMakeLists.txt +++ b/appli/examples/CMakeLists.txt @@ -1,35 +1,35 @@ -IF(BUILD_EXAMPLES) - SET( - APPLIS - example_Thinning - example_BinaryDistanceMap - 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_ImageAlgorithmDijkstra_03 - 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$