]> Creatis software - gdcm.git/blobdiff - Example/CMakeLists.txt
COMP: Remove problem with static being define in a common header file
[gdcm.git] / Example / CMakeLists.txt
index 87aeb09b0793d5fb454d6c96329229d82739f80b..02ea58ce7760ce3ea398ee6f35aff86d83805734 100644 (file)
@@ -6,26 +6,31 @@ INCLUDE_DIRECTORIES(
 
 SET(EXAMPLE_SOURCES
 #names starting with 'ex' are examples  
-  exBuildUpDicomDir
   exReadPapyrus
   exReadWriteFile
-  exAnonymize
-  exAnonymizeNoLoad
   exColorToRGB
+  exGrey2RGB
   exGC
   exImageLighten
+  exOverlaysACR
+  exSerieHelper
             
 #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 
+  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
@@ -40,5 +45,6 @@ SET(EXAMPLE_SOURCES
 FOREACH(name ${EXAMPLE_SOURCES})
   ADD_EXECUTABLE(${name} ${name}.cxx)
   TARGET_LINK_LIBRARIES(${name} gdcm)
+  INSTALL_TARGETS(/bin/ ${name})
 ENDFOREACH(name)