]> Creatis software - gdcm.git/blob - Example/CMakeLists.txt
Fix mistypings
[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   exUnMosaic
10   #SingleFrames2Multiframe
11   #Txt2Mat  
12   #exDicomRTStructSetFile  
13   #exExtractCSA
14   #exExtractCSATag
15  #exPresentationState
16  #exExplorePresentationState
17   exReadPapyrus  
18   exReadWriteFile  
19   exColorToRGB  
20   exGrey2RGB  
21   exGC
22   exImageLighten  
23   #exInLine  
24   exExtractOverlaysACR # Extracts ACR-NEMA style overlays 
25   exExtractOverlaysDCM # Extracts DICOM style overlays
26   exExtractDicomTags
27   exExtractTag         
28   exCurveData  
29   exSerieHelper
30   exXCoherentFileSet
31   exMoveImagesToSingleSerieUID
32   #exExtractSegmentedPalette
33   exMakeIcon
34   
35   # the following are utilities
36   #----------------------------
37   #BrukerToMhd
38   RawToInTagDicom
39   RawToDicomStack  
40   PrintDicomDir  
41   PrintFile  
42   MakeDicomDir  
43   AnonymizeDicomDir     # without loading it as a gdcm::DicomDir  
44   Anonymize             # for full gdcm readable files  
45   AnonymizeNoLoad       # without loading the Pixel Data  
46   AnonymizeMultiPatient # without loading the Pixel Data  
47   AnonymizeReWriteMultiPatient # without loading the Pixel Data  
48   PatchHeader  
49   ToInTag  
50   ReWrite  
51   #ReWriteExtended  
52   RawToDicom  
53   TestValidate
54   Rename
55  SplitIntoDirectories
56  SplitIntoXCoherentDirectories
57  SplitIntoXCoherentDirectoriesIgnoreSerieUID 
58   
59   # the following produce usable files for some softwares.
60   #------------------------------------------------------   
61   ToMRIregister
62   DenseMultiFramesToDicom
63   Dense2007ToDicom
64   PcpdenseToDicom
65     
66   #BatchUncompress
67     
68   #the following will be transformed into 'examples', or 'utilities'
69   #              or will be removed
70   # Better you don't use them (not fully checked ...)   
71   FindTags  
72   FlatHashTablePrint  
73   Volume2Dicom  
74   WriteDicomSimple  
75
76   WriteRead
77   #WriteDicomAsJPEG2000  #Use ReWrite ... mode=2
78   #WriteDicomAsJPEG      #Use ReWrite ... mode=j
79
80   exCTPET  
81   #Slice
82 )
83
84 FOREACH(name ${EXAMPLE_SOURCES})  
85   ADD_EXECUTABLE(${name} ${name}.cxx )  
86   TARGET_LINK_LIBRARIES(${name} gdcm)  
87   INSTALL_TARGETS(/bin/ ${name})
88 ENDFOREACH(name)