]> Creatis software - gdcm.git/blob - Example/CMakeLists.txt
COMP: minor comp fix
[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   #Txt2Mat  
9   #exDicomRTStructSetFile  
10   #exExtractCSA
11   Dense2007ToDicom  
12   exReadPapyrus  
13   exReadWriteFile  
14   exColorToRGB  
15   exGrey2RGB  
16   exGC
17   exImageLighten  
18   #exInLine  
19   exOverlaysACR  
20   exOverlaysDCM  
21   exCurveData  
22   exExtractTag  
23   exSerieHelper
24   exXCoherentFileSet
25   exExtractDicomTags  
26   exMoveImagesToSingleSerieUID
27   exMakeIcon
28   #the following are utilities  
29   PrintDicomDir  
30   PrintFile  
31   MakeDicomDir  
32   AnonymizeDicomDir     
33   # without loading it as a gdcm::DicomDir  
34   Anonymize             
35   # for full gdcm readable files  
36   AnonymizeNoLoad       
37   # without loading the Pixel Data  
38   AnonymizeMultiPatient 
39   # without loading the Pixel Data  
40   PatchHeader  
41   ToInTag  
42   ReWrite  
43   #ReWriteExtended  
44   RawToDicom  
45   TestValidate  
46   ToMRIregister
47   DenseMultiFramesToDicom
48     
49   #BatchUncompress  
50   ExtractOverlays   
51   #the following will be transformed into 'examples', or 'utilities'
52   #              or will be removed
53   # Better you don't use them (not fully checked ...)   
54   FindTags  
55   FlatHashTablePrint  
56   Volume2Dicom  
57   WriteDicomSimple  
58
59   WriteRead 
60   ## Troubles on Windows ! 
61   WriteDicomAsJPEG2000
62   WriteDicomAsJPEG
63
64   exCTPET  
65   #Slice
66 )
67
68 FOREACH(name ${EXAMPLE_SOURCES})  
69   ADD_EXECUTABLE(${name} ${name}.cxx )  
70   TARGET_LINK_LIBRARIES(${name} gdcm)  
71   INSTALL_TARGETS(/bin/ ${name})
72 ENDFOREACH(name)