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