]> Creatis software - gdcm.git/blobdiff - Example/CMakeLists.txt
* Builder/ : add something to facilitate the RPM creation of gdcm
[gdcm.git] / Example / CMakeLists.txt
index df8f66986292ce33fa454c4e908f2c123317fa99..1514d219ea4ec68e8cab25c2e3b5829a3736d8f5 100644 (file)
@@ -9,7 +9,12 @@ SET(EXAMPLE_SOURCES
   exBuildUpDicomDir
   exReadPapyrus
   exReadWriteFile
-  
+  exAnonymize
+  exAnonymizeNoLoad  # without loading the Pixel Data
+  exColorToRGB
+  exGC
+  exImageLighten
+            
 #the following are utilities
   PrintDicomDir
   PrintDocument
@@ -17,10 +22,12 @@ SET(EXAMPLE_SOURCES
   PrintHeader
   FindTags
   MakeDicomDir
+  AnonymizeDicomDir # without loading it as a gdcm::DicomDir
 
 #the following will be transformed into 'examples', or 'utilities'
 #              or will be removed
-
+  #test
   FlatHashTablePrint
   TestCopyDicom
   TestChangeHeader
@@ -35,5 +42,6 @@ SET(EXAMPLE_SOURCES
 FOREACH(name ${EXAMPLE_SOURCES})
   ADD_EXECUTABLE(${name} ${name}.cxx)
   TARGET_LINK_LIBRARIES(${name} gdcm)
+  INSTALL_TARGETS(/bin/ ${name})
 ENDFOREACH(name)