]> Creatis software - gdcm.git/blob - Example/CMakeLists.txt
Deal with any type on input + cosmetics
[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   RawToInTagDicom
33   RawToDicomStack  
34   PrintDicomDir  
35   PrintFile  
36   MakeDicomDir  
37   AnonymizeDicomDir     # without loading it as a gdcm::DicomDir  
38   Anonymize             # for full gdcm readable files  
39   AnonymizeNoLoad       # without loading the Pixel Data  
40   AnonymizeMultiPatient # without loading the Pixel Data  
41   AnonymizeReWriteMultiPatient # without loading the Pixel Data  
42   PatchHeader  
43   ToInTag  
44   ReWrite  
45   #ReWriteExtended  
46   RawToDicom  
47   TestValidate
48   
49   # the following produce usable files for some softwares.
50   #------------------------------------------------------   
51   ToMRIregister
52   DenseMultiFramesToDicom
53   Dense2007ToDicom
54   PcpdenseToDicom
55     
56   #BatchUncompress
57     
58   #the following will be transformed into 'examples', or 'utilities'
59   #              or will be removed
60   # Better you don't use them (not fully checked ...)   
61   FindTags  
62   FlatHashTablePrint  
63   Volume2Dicom  
64   WriteDicomSimple  
65
66   WriteRead
67   #WriteDicomAsJPEG2000  #Use ReWrite ... mode=2
68   #WriteDicomAsJPEG      #Use ReWrite ... mode=j
69
70   exCTPET  
71   #Slice
72 )
73
74 FOREACH(name ${EXAMPLE_SOURCES})  
75   ADD_EXECUTABLE(${name} ${name}.cxx )  
76   TARGET_LINK_LIBRARIES(${name} gdcm)  
77   INSTALL_TARGETS(/bin/ ${name})
78 ENDFOREACH(name)