]> Creatis software - gdcm.git/blob - Example/CMakeLists.txt
Add exOverlayACR
[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   exBuildUpDicomDir
10   exReadPapyrus
11   exReadWriteFile
12   exAnonymize
13   exAnonymizeNoLoad  # without loading the Pixel Data
14   exColorToRGB
15   exGC
16   exImageLighten
17   exOverlaysACR
18             
19 #the following are utilities
20   PrintDicomDir
21   PrintDocument
22   PrintFile
23   PrintHeader
24   FindTags
25   MakeDicomDir
26   AnonymizeDicomDir # without loading it as a gdcm::DicomDir
27
28 #the following will be transformed into 'examples', or 'utilities'
29 #              or will be removed
30  
31   #test
32   FlatHashTablePrint
33   TestCopyDicom
34   TestChangeHeader
35   TestFromScratch
36   TestWrite
37   TestWriteSimple
38   Volume2Dicom
39   WriteDicomSimple
40   WriteRead
41 )
42
43 FOREACH(name ${EXAMPLE_SOURCES})
44   ADD_EXECUTABLE(${name} ${name}.cxx)
45   TARGET_LINK_LIBRARIES(${name} gdcm)
46   INSTALL_TARGETS(/bin/ ${name})
47 ENDFOREACH(name)
48