X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=appli%2Fexamples%2FCMakeLists.txt;h=6e989b328372802e16000eab3ccee33c067114a7;hb=9f494b26ae4e5de45b4c2119a10de67ac0beeedf;hp=a4fb5d7995ea8a760cdb9c184002cbb17627edfe;hpb=1d735deae0ae5e8bff643a59370a03c961ef780c;p=cpPlugins.git diff --git a/appli/examples/CMakeLists.txt b/appli/examples/CMakeLists.txt index a4fb5d7..6e989b3 100644 --- a/appli/examples/CMakeLists.txt +++ b/appli/examples/CMakeLists.txt @@ -1,62 +1,7 @@ -## ========================= -## = Command line programs = -## ========================= - -SET( - EXAMPLES_PROGRAMS - example_TestParameters - example_LoadPlugins - example_ReadWriteImage - example_MarchingCubes - example_OtsuFilter - example_RGBImageToHSVChannels - example_RGBImageToYPbPrChannels - ## example_ReadImageSeriesWriteImage - ## example_ReadQuadEdgeMesh - ## example_RenderQuadEdgeMesh - example_MPR - ) - - -FOREACH(prog ${EXAMPLES_PROGRAMS}) - ADD_EXECUTABLE( - ${prog} - ${prog}.cxx - ) - TARGET_LINK_LIBRARIES( - ${prog} - cpExtensions - cpPlugins_Interface - ) -ENDFOREACH(prog) - -SET( - NOPLUGINS_EXAMPLES_PROGRAMS - example_ContourWidget - ## example_ExtractDICOMSeries - ## example_ImageGaussianModelEstimator - ## example_ReadQuadEdgeMeshWithoutPlugins - ## example_RenderQuadEdgeMeshWithoutPlugins - ## example_ParallelImageMean - ## example_LightCompensation - ## example_1DImageGradient - ## example_2DImageGradient - ## example_3DImageGradient - ## example_2DGulsunTekMedialness - ## example_3DGulsunTekMedialness - ## example_KalmanVelocity - ) -FOREACH(prog ${NOPLUGINS_EXAMPLES_PROGRAMS}) - ADD_EXECUTABLE( - ${prog} - ${prog}.cxx - ) - TARGET_LINK_LIBRARIES( - ${prog} - ${ITK_LIBRARIES} - cpExtensions - ) -ENDFOREACH(prog) +OPTION(BUILD_EXAMPLES "Build examples" OFF) +IF(BUILD_EXAMPLES) + SUBDIRS(plugins) +ENDIF(BUILD_EXAMPLES) ## eof - $RCSfile$