]> Creatis software - gdcm.git/blob - Example/CMakeLists.txt
e9f8d4ea9e290e65695ad73bfd205cd14abd2d47
[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