]> Creatis software - gdcm.git/blob - Example/CMakeLists.txt
use AnonymizeMultiPatient.cxx
[gdcm.git] / Example / CMakeLists.txt
1 # include stuff
2 INCLUDE_DIRECTORIES(
3   ${GDCM_SOURCE_DIR}/src
4   ${GDCM_BINARY_DIR}
5 )
6
7 SET(EXAMPLE_SOURCES
8 #names starting with 'ex' are examples  
9   exReadPapyrus
10   exReadWriteFile
11   exColorToRGB
12   exGrey2RGB
13   exGC
14   exImageLighten
15   #exOverlaysACR
16   exOverlaysDCM
17   exCurveData
18   exExtractTag
19   exSerieHelper
20   exXCoherentFileSet
21   exExtractDicomTags
22                 
23 #the following are utilities
24   PrintDicomDir
25   PrintFile
26   MakeDicomDir
27   AnonymizeDicomDir # without loading it as a gdcm::DicomDir
28   Anonymize         # for full gdcm readable files
29   AnonymizeNoLoad   # without loading the Pixel Data
30   AnonymizeMultiPatient # without loading the Pixel Data
31   PatchHeader
32   PhilipsToBrucker2 
33   #ToInTag
34   MagnetomVisionToBrucker   
35   ReWrite
36   ReWriteExtended
37   RawToDicom
38   TestValidate
39   #BatchUncompress
40   
41 #the following will be transformed into 'examples', or 'utilities'
42 #              or will be removed
43 #
44 # Better you don't use them (not fully checked ...)
45  
46   FindTags
47   FlatHashTablePrint
48   Volume2Dicom
49   WriteDicomSimple
50   WriteRead
51   exCTPET 
52 )
53
54 FOREACH(name ${EXAMPLE_SOURCES})
55   ADD_EXECUTABLE(${name} ${name}.cxx )
56   TARGET_LINK_LIBRARIES(${name} gdcm)
57   INSTALL_TARGETS(/bin/ ${name})
58 ENDFOREACH(name)
59