]> Creatis software - gdcm.git/blob - Example/CMakeLists.txt
1a34905d2c1cf26ce2c50f8883560320aeb093f0
[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   TestPapyrus
21   TestWrite
22   TestWriteSimple
23   Volume2Dicom
24   WriteDicomSimple
25   Write
26   WriteRead
27   WriteDicom
28 )
29
30 FOREACH(name ${EXAMPLE_SOURCES})
31   ADD_EXECUTABLE(${name} ${name}.cxx)
32   TARGET_LINK_LIBRARIES(${name} gdcm)
33 ENDFOREACH(name)
34