]> Creatis software - gdcm.git/blobdiff - Example/CMakeLists.txt
ENH: Adding the ex to the list
[gdcm.git] / Example / CMakeLists.txt
index 49a7f835864dfb2fb9ef5055999fa815ef528c52..4baa054380707a3fe412a6dd7914744866f1e935 100644 (file)
@@ -6,28 +6,38 @@ INCLUDE_DIRECTORIES(
 
 SET(EXAMPLE_SOURCES
 #names starting with 'ex' are examples  
-  exBuildUpDicomDir
   exReadPapyrus
   exReadWriteFile
-  exAnonymize
-    
+  exColorToRGB
+  exGrey2RGB
+  exGC
+  exImageLighten
+  exOverlaysACR
+  exCurveData
+  exSerieHelper
+  exExtractDicomTags
+              
 #the following are utilities
   PrintDicomDir
-  PrintDocument
   PrintFile
-  PrintHeader
-  FindTags
   MakeDicomDir
+  AnonymizeDicomDir # without loading it as a gdcm::DicomDir
+  Anonymize         # for full gdcm readable files
+  AnonymizeNoLoad   # without loading the Pixel Data 
+  PatchHeader
+  ReWrite
 
 #the following will be transformed into 'examples', or 'utilities'
 #              or will be removed
-
+#
+# Better you don't use them (not fully checked ...)
+  FindTags
   FlatHashTablePrint
   TestCopyDicom
   TestChangeHeader
   TestFromScratch
   TestWrite
-  TestWriteSimple
   Volume2Dicom
   WriteDicomSimple
   WriteRead
@@ -36,5 +46,6 @@ SET(EXAMPLE_SOURCES
 FOREACH(name ${EXAMPLE_SOURCES})
   ADD_EXECUTABLE(${name} ${name}.cxx)
   TARGET_LINK_LIBRARIES(${name} gdcm)
+  INSTALL_TARGETS(/bin/ ${name})
 ENDFOREACH(name)