]> Creatis software - gdcm.git/blob - Example/CMakeLists.txt
ENH: Rewrote the cmakelist
[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   TestReadWriteReadCompare
19   TestDcm2Acr
20   TestWrite
21   TestWriteSimple
22   Volume2Dicom
23   Write
24   WriteRead
25   WriteDicom
26 )
27
28 FOREACH(name ${EXAMPLE_SOURCES})
29   ADD_EXECUTABLE(${name} ${name}.cxx)
30   TARGET_LINK_LIBRARIES(${name} gdcm)
31 ENDFOREACH(name)
32