]> Creatis software - gdcm.git/blob - Example/CMakeLists.txt
* Example/WriteDicomSimple.cxx : example to write a dicom file from nothing.
[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   WriteDicomSimple
24   Write
25   WriteRead
26   WriteDicom
27 )
28
29 FOREACH(name ${EXAMPLE_SOURCES})
30   ADD_EXECUTABLE(${name} ${name}.cxx)
31   TARGET_LINK_LIBRARIES(${name} gdcm)
32 ENDFOREACH(name)
33