]> 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 59af9a6d6fb5567339d54851aac330089b743822..2fd980d419444ec1760a211f143f1a3299a2a46d 100644 (file)
@@ -4,10 +4,30 @@
 ## =========================
 
 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_View2DImage
   ##example_MarchingCubes
   ##example_OtsuFilter
   ##example_RGBImageToHSVChannels
@@ -33,7 +53,9 @@ ENDFOREACH(prog)
 
 SET(
   NOPLUGINS_EXAMPLES_PROGRAMS
+  example_BaseInteractorStyle
   example_ContourWidget
+  ## example_Test_DoubleClick
   ## example_ExtractDICOMSeries
   ## example_ImageGaussianModelEstimator
   ## example_ReadQuadEdgeMeshWithoutPlugins