X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=Example%2FCMakeLists.txt;h=e9f8d4ea9e290e65695ad73bfd205cd14abd2d47;hb=e30e614e7f63b52306d85040068e2205a9e6327a;hp=59525c6752887ebb792f1cdd9e48e07cd7aa76e5;hpb=74fccf1190246de80a78735ce73b783c488d1113;p=gdcm.git diff --git a/Example/CMakeLists.txt b/Example/CMakeLists.txt index 59525c67..e9f8d4ea 100644 --- a/Example/CMakeLists.txt +++ b/Example/CMakeLists.txt @@ -1,12 +1,35 @@ -SET(EXAMPLE_SOURCES - WriteDicom.cxx -) - # include stuff INCLUDE_DIRECTORIES( ${GDCM_SOURCE_DIR}/src/ ${GDCM_BINARY_DIR}/ ) -ADD_EXECUTABLE(WriteDicom WriteDicom.cxx) -TARGET_LINK_LIBRARIES(WriteDicom gdcm) +SET(EXAMPLE_SOURCES + BuildUpDicomDir + FindTags + FlatHashTablePrint + makeDicomDir + PrintDocument + PrintFile + PrintHeader + PrintDicomDir + TestCopyDicom + TestChangeHeader + TestFromScratch + TestReadWriteReadCompare + TestDcm2Acr + TestPapyrus + TestWrite + TestWriteSimple + Volume2Dicom + WriteDicomSimple + Write + WriteRead + WriteDicom +) + +FOREACH(name ${EXAMPLE_SOURCES}) + ADD_EXECUTABLE(${name} ${name}.cxx) + TARGET_LINK_LIBRARIES(${name} gdcm) +ENDFOREACH(name) +