]> Creatis software - gdcm.git/blob - Example/CMakeLists.txt
Add a *very* simple test program to read the frames of a Papyrus image,
[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   BuildUpDicomDir
9   FindTags
10   FlatHashTablePrint
11   makeDicomDir
12   PrintDocument
13   PrintFile
14   PrintHeader
15   PrintDicomDir
16   TestCopyDicom
17   TestChangeHeader
18   TestFromScratch
19   TestReadWriteReadCompare
20   TestDcm2Acr
21   TestPapyrus
22   TestWrite
23   TestWriteSimple
24   Volume2Dicom
25   WriteDicomSimple
26   Write
27   WriteRead
28   WriteDicom
29 )
30
31 FOREACH(name ${EXAMPLE_SOURCES})
32   ADD_EXECUTABLE(${name} ${name}.cxx)
33   TARGET_LINK_LIBRARIES(${name} gdcm)
34 ENDFOREACH(name)
35