X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=appli%2Fexamples%2FCMakeLists.txt;h=9938095c1f875fb542428356ca3240383905e8fc;hb=94411ee4209d15d6d1cf25bb817675f76f7ea5c0;hp=f233136b0c8d72eab44ea6f0f642230e56c588ac;hpb=3b51a08c6a78ed09578f198f6a13dd769d460bef;p=cpPlugins.git diff --git a/appli/examples/CMakeLists.txt b/appli/examples/CMakeLists.txt index f233136..9938095 100644 --- a/appli/examples/CMakeLists.txt +++ b/appli/examples/CMakeLists.txt @@ -4,33 +4,67 @@ ## ========================= SET( - EXAMPLES_PROGRAMS + EXAMPLES_PROGRAMS_ONLY_EXTENSIONS + ) + +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 + example_LoadPluginsFromPath + example_WorkspaceSandBox + ) + +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_MarchingCubes - example_OtsuFilter - example_RGBImageToHSVChannels - example_RGBImageToYPbPrChannels + #example_MPR + example_View2DImage + example_ViewImageThreshold + example_HandleWidget + example_SeedWidget + example_SphereWidget + example_Test_Memento + ##example_OtsuFilter + ##example_RGBImageToHSVChannels + ##example_RGBImageToYPbPrChannels ## example_ReadImageSeriesWriteImage ## example_ReadQuadEdgeMesh ## example_RenderQuadEdgeMesh - example_MPR + ##example_MPR ) -FOREACH(prog ${EXAMPLES_PROGRAMS}) +FOREACH(prog ${EXAMPLES_PROGRAMS_WITH_PLUGINS}) ADD_EXECUTABLE( ${prog} ${prog}.cxx ) TARGET_LINK_LIBRARIES( ${prog} + cpExtensions cpPlugins_Interface ) ENDFOREACH(prog) SET( NOPLUGINS_EXAMPLES_PROGRAMS + example_BaseInteractorStyle + + example_ContourWidget + ##example_Test_async + ## example_MacheteFilter + ## example_Test_DoubleClick ## example_ExtractDICOMSeries ## example_ImageGaussianModelEstimator ## example_ReadQuadEdgeMeshWithoutPlugins