]> Creatis software - cpPlugins.git/blobdiff - appli/examples/CMakeLists.txt
Parameters are now part of the pipeline update process
[cpPlugins.git] / appli / examples / CMakeLists.txt
index 92a28a597d42c255b0f0363bc5e85fbc6a1fc75d..2fd980d419444ec1760a211f143f1a3299a2a46d 100644 (file)
@@ -4,20 +4,41 @@
 ## =========================
 
 SET(
-  EXAMPLES_PROGRAMS
-  ## example_TestParameters
+  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_MarchingCubes
-  example_OtsuFilter
+  example_View2DImage
+  ##example_MarchingCubes
+  ##example_OtsuFilter
+  ##example_RGBImageToHSVChannels
+  ##example_RGBImageToYPbPrChannels
   ## example_ReadImageSeriesWriteImage
   ## example_ReadQuadEdgeMesh
   ## example_RenderQuadEdgeMesh
-  ## example_RGBImageToHSVChannels
-  ## example_RGBImageToYPbPrChannels
-  ## example_MPR
+  ##example_MPR
   )
 
+
 FOREACH(prog ${EXAMPLES_PROGRAMS}) 
   ADD_EXECUTABLE(
     ${prog}
@@ -25,12 +46,16 @@ FOREACH(prog ${EXAMPLES_PROGRAMS})
     )
   TARGET_LINK_LIBRARIES(
     ${prog}
+    cpExtensions
     cpPlugins_Interface
     )
 ENDFOREACH(prog)
 
 SET(
   NOPLUGINS_EXAMPLES_PROGRAMS
+  example_BaseInteractorStyle
+  example_ContourWidget
+  ## example_Test_DoubleClick
   ## example_ExtractDICOMSeries
   ## example_ImageGaussianModelEstimator
   ## example_ReadQuadEdgeMeshWithoutPlugins
@@ -52,7 +77,7 @@ FOREACH(prog ${NOPLUGINS_EXAMPLES_PROGRAMS})
   TARGET_LINK_LIBRARIES(
     ${prog}
     ${ITK_LIBRARIES}
-    cpPlugins_Extensions
+    cpExtensions
     )
 ENDFOREACH(prog)