]> Creatis software - gdcm.git/blob - Example/CMakeLists.txt
??
[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 #MagnetomVisionToBrucker     
41 ReWrite  
42 ReWriteExtended  
43 RawToDicom  
44 TestValidate  
45 ToMRIregister  
46 #BatchUncompress  
47 ExtractOverlays   
48 #the following will be transformed into 'examples', or 'utilities'
49 #              or will be removed## Better you don't use them (not fully checked ...)   
50 FindTags  
51 FlatHashTablePrint  
52 Volume2Dicom  
53 WriteDicomSimple  
54 WriteRead  
55 #WriteDicomAsJPEG  
56 exCTPET  
57 #Slice
58 )
59
60 FOREACH(name ${EXAMPLE_SOURCES})  
61   ADD_EXECUTABLE(${name} ${name}.cxx )  
62   TARGET_LINK_LIBRARIES(${name} gdcm)  
63   INSTALL_TARGETS(/bin/ ${name})
64 ENDFOREACH(name)