]> Creatis software - gdcm.git/blobdiff - Example/CMakeLists.txt
Try downcast to please MSVC
[gdcm.git] / Example / CMakeLists.txt
index 22ff98f0c90004a85cadf8dc9d5613c600dc12b4..b0ddbcb650eb40fb9e8395bb3f331c70f457f122 100644 (file)
@@ -6,28 +6,31 @@ INCLUDE_DIRECTORIES(
 
 SET(EXAMPLE_SOURCES
 #names starting with 'ex' are examples  
-  exBuildUpDicomDir
   exReadPapyrus
   exReadWriteFile
-  exAnonymize
-  exAnonymizeNoLoad  # without loading the Pixel Data
   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 
+  PatchHeader
+  ReWrite
 
 #the following will be transformed into 'examples', or 'utilities'
 #              or will be removed
+#
+# Better you don't use them (not fully checked ...)
  
-  #test
+  FindTags
   FlatHashTablePrint
   TestCopyDicom
   TestChangeHeader
@@ -42,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)