]> Creatis software - gdcm.git/blob - Example/CMakeLists.txt
Add some verbosity to show the troubles with SerieHelper
[gdcm.git] / Example / CMakeLists.txt
1 # include stuff
2 INCLUDE_DIRECTORIES(  
3   ${GDCM_SOURCE_DIR}/src  
4   ${GDCM_BINARY_DIR}  
5   ${GDCM_BINARY_DIR}/src)
6 SET(EXAMPLE_SOURCES
7   #names starting with 'ex' are examples
8   #-------------------------------------      
9   #Txt2Mat  
10   #exDicomRTStructSetFile  
11   #exExtractCSA
12   exReadPapyrus  
13   exReadWriteFile  
14   exColorToRGB  
15   exGrey2RGB  
16   exGC
17   exImageLighten  
18   #exInLine  
19   exExtractOverlaysACR # Extracts ACR-NEMA style overlays 
20   exExtractOverlaysDCM # Extracts DICOM style overlays
21   exExtractDicomTags
22   exExtractTag         
23   exCurveData  
24   exSerieHelper
25   exXCoherentFileSet
26   exMoveImagesToSingleSerieUID
27   #exExtractSegmentedPalette
28   exMakeIcon
29   
30   # the following are utilities
31   #----------------------------  
32   PrintDicomDir  
33   PrintFile  
34   MakeDicomDir  
35   AnonymizeDicomDir     # without loading it as a gdcm::DicomDir  
36   Anonymize             # for full gdcm readable files  
37   AnonymizeNoLoad       # without loading the Pixel Data  
38   AnonymizeMultiPatient # without loading the Pixel Data  
39   PatchHeader  
40   ToInTag  
41   ReWrite  
42   #ReWriteExtended  
43   RawToDicom  
44   TestValidate
45   
46   # the following produce usable files for some softwares.
47   #------------------------------------------------------   
48   ToMRIregister
49   DenseMultiFramesToDicom
50   Dense2007ToDicom
51   #BatchUncompress
52     
53   #the following will be transformed into 'examples', or 'utilities'
54   #              or will be removed
55   # Better you don't use them (not fully checked ...)   
56   FindTags  
57   FlatHashTablePrint  
58   Volume2Dicom  
59   WriteDicomSimple  
60
61   WriteRead
62   #WriteDicomAsJPEG2000  #Use ReWrite ... mode=2
63   #WriteDicomAsJPEG      #Use ReWrite ... mode=j
64
65   exCTPET  
66   #Slice
67 )
68
69 FOREACH(name ${EXAMPLE_SOURCES})  
70   ADD_EXECUTABLE(${name} ${name}.cxx )  
71   TARGET_LINK_LIBRARIES(${name} gdcm)  
72   INSTALL_TARGETS(/bin/ ${name})
73 ENDFOREACH(name)