]> Creatis software - gdcm.git/blob - Example/CMakeLists.txt
Temporary removal of WriteDicomAsJPEG
[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   #the following are utilities  
28   PrintDicomDir  
29   PrintFile  
30   MakeDicomDir  
31   AnonymizeDicomDir     
32   # without loading it as a gdcm::DicomDir  
33   Anonymize             
34   # for full gdcm readable files  
35   AnonymizeNoLoad       
36   # without loading the Pixel Data  
37   AnonymizeMultiPatient 
38   # without loading the Pixel Data  
39   PatchHeader  
40   ToInTag  
41   ReWrite  
42   #ReWriteExtended  
43   RawToDicom  
44   TestValidate  
45   ToMRIregister
46   DenseMultiFramesToDicom
47     
48   #BatchUncompress  
49   ExtractOverlays   
50   #the following will be transformed into 'examples', or 'utilities'
51   #              or will be removed
52   # Better you don't use them (not fully checked ...)   
53   FindTags  
54   FlatHashTablePrint  
55   Volume2Dicom  
56   WriteDicomSimple  
57   WriteRead  
58   WriteDicomAsJPEG2000
59   #WriteDicomAsJPEG 
60   exCTPET  
61   #Slice
62 )
63
64 FOREACH(name ${EXAMPLE_SOURCES})  
65   ADD_EXECUTABLE(${name} ${name}.cxx )  
66   TARGET_LINK_LIBRARIES(${name} gdcm)  
67   INSTALL_TARGETS(/bin/ ${name})
68 ENDFOREACH(name)