]> Creatis software - gdcm.git/blob - Example/CMakeLists.txt
Remove PrintDocument from CMakeLists.txt, as well
[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   exSerieHelper
17             
18 #the following are utilities
19   PrintDicomDir
20   PrintFile
21   MakeDicomDir
22   AnonymizeDicomDir # without loading it as a gdcm::DicomDir
23   Anonymize         # for full gdcm readable files
24   AnonymizeNoLoad   # without loading the Pixel Data 
25   PatchHeader
26   ReWrite
27
28 #the following will be transformed into 'examples', or 'utilities'
29 #              or will be removed
30 #
31 # Better you don't use them (not fully checked ...)
32  
33   FindTags
34   FlatHashTablePrint
35   TestCopyDicom
36   TestChangeHeader
37   TestFromScratch
38   TestWrite
39   TestWriteSimple
40   Volume2Dicom
41   WriteDicomSimple
42   WriteRead
43 )
44
45 FOREACH(name ${EXAMPLE_SOURCES})
46   ADD_EXECUTABLE(${name} ${name}.cxx)
47   TARGET_LINK_LIBRARIES(${name} gdcm)
48   INSTALL_TARGETS(/bin/ ${name})
49 ENDFOREACH(name)
50