]> Creatis software - gdcm.git/blob - Example/CMakeLists.txt
* Test/*.cxx and Example/*.cxx: moved some examples away from the
[gdcm.git] / Example / CMakeLists.txt
1 SET(EXAMPLE_SOURCES
2   WriteDicom.cxx
3 )
4
5 # include stuff
6 INCLUDE_DIRECTORIES(
7   ${GDCM_SOURCE_DIR}/src/
8   ${GDCM_BINARY_DIR}/
9 )
10
11 ADD_EXECUTABLE(FindTags FindTags.cxx)
12 TARGET_LINK_LIBRARIES(FindTags gdcm)
13
14 ADD_EXECUTABLE(TestDcm2Acr TestDcm2Acr.cxx)
15 TARGET_LINK_LIBRARIES(TestDcm2Acr gdcm)
16
17 ADD_EXECUTABLE(TestWrite TestWrite.cxx)
18 TARGET_LINK_LIBRARIES(TestWrite gdcm)
19
20 ADD_EXECUTABLE(TestWriteSimple TestWriteSimple.cxx)
21 TARGET_LINK_LIBRARIES(TestWriteSimple gdcm)
22
23 ADD_EXECUTABLE(PrintDocument PrintDocument.cxx)
24 TARGET_LINK_LIBRARIES(PrintDocument gdcm)
25
26 ADD_EXECUTABLE(PrintFile PrintFile.cxx)
27 TARGET_LINK_LIBRARIES(PrintFile gdcm)
28
29 ADD_EXECUTABLE(PrintHeader PrintHeader.cxx)
30 TARGET_LINK_LIBRARIES(PrintHeader gdcm)
31
32 ADD_EXECUTABLE(WriteDicom WriteDicom.cxx)
33 TARGET_LINK_LIBRARIES(WriteDicom gdcm)
34
35 ADD_EXECUTABLE(Write Write.cxx)
36 TARGET_LINK_LIBRARIES(Write gdcm)
37
38 ADD_EXECUTABLE(WriteRead WriteRead.cxx)
39 TARGET_LINK_LIBRARIES(WriteRead gdcm)