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