X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=appli%2Fexamples%2FCMakeLists.txt;h=2fd980d419444ec1760a211f143f1a3299a2a46d;hb=2553991938011b002691361f0ed4ae95a552a686;hp=93bc0d87d53bb6cab8862d0f66943f3d7cfb6786;hpb=aa6a578004bddb5b0bb07b780483fda0ecc6cb5e;p=cpPlugins.git diff --git a/appli/examples/CMakeLists.txt b/appli/examples/CMakeLists.txt index 93bc0d8..2fd980d 100644 --- a/appli/examples/CMakeLists.txt +++ b/appli/examples/CMakeLists.txt @@ -4,18 +4,41 @@ ## ========================= SET( - EXAMPLES_PROGRAMS + EXAMPLES_PROGRAMS_ONLY_EXTENSIONS + example_TestQuadSplitter + ) + +FOREACH(prog ${EXAMPLES_PROGRAMS_ONLY_EXTENSIONS}) + ADD_EXECUTABLE(${prog} ${prog}.cxx) + TARGET_LINK_LIBRARIES(${prog} cpExtensions) +ENDFOREACH(prog) + +SET( + EXAMPLES_PROGRAMS_ONLY_INTERFACE example_TestParameters example_LoadPlugins + ) + +FOREACH(prog ${EXAMPLES_PROGRAMS_ONLY_INTERFACE}) + ADD_EXECUTABLE(${prog} ${prog}.cxx) + TARGET_LINK_LIBRARIES(${prog} cpPlugins_Interface) +ENDFOREACH(prog) + +SET( + EXAMPLES_PROGRAMS_WITH_PLUGINS example_ReadWriteImage - example_ReadImageSeriesWriteImage - example_ReadQuadEdgeMesh - example_RenderQuadEdgeMesh - example_RGBImageToHSVChannels - example_RGBImageToYPbPrChannels - example_MPR + example_View2DImage + ##example_MarchingCubes + ##example_OtsuFilter + ##example_RGBImageToHSVChannels + ##example_RGBImageToYPbPrChannels + ## example_ReadImageSeriesWriteImage + ## example_ReadQuadEdgeMesh + ## example_RenderQuadEdgeMesh + ##example_MPR ) + FOREACH(prog ${EXAMPLES_PROGRAMS}) ADD_EXECUTABLE( ${prog} @@ -23,17 +46,28 @@ FOREACH(prog ${EXAMPLES_PROGRAMS}) ) TARGET_LINK_LIBRARIES( ${prog} + cpExtensions cpPlugins_Interface ) ENDFOREACH(prog) SET( NOPLUGINS_EXAMPLES_PROGRAMS - example_ImageGaussianModelEstimator - example_ReadQuadEdgeMeshWithoutPlugins - example_RenderQuadEdgeMeshWithoutPlugins - example_ParallelImageMean - example_LightCompensation + example_BaseInteractorStyle + example_ContourWidget + ## example_Test_DoubleClick + ## 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( @@ -43,6 +77,7 @@ FOREACH(prog ${NOPLUGINS_EXAMPLES_PROGRAMS}) TARGET_LINK_LIBRARIES( ${prog} ${ITK_LIBRARIES} + cpExtensions ) ENDFOREACH(prog)