X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=Example%2FCMakeLists.txt;h=c7e2b0b70b5ecaf556a315aa1d948ed29a0ca2bb;hb=8b4006ce9e262e36f32ed56d877bc31de0a748a1;hp=22ff98f0c90004a85cadf8dc9d5613c600dc12b4;hpb=8e834ad16229e2a3f98bd4cbfb9d5590bf68f47f;p=gdcm.git diff --git a/Example/CMakeLists.txt b/Example/CMakeLists.txt index 22ff98f0..c7e2b0b7 100644 --- a/Example/CMakeLists.txt +++ b/Example/CMakeLists.txt @@ -1,46 +1,68 @@ # include stuff -INCLUDE_DIRECTORIES( - ${GDCM_SOURCE_DIR}/src/ - ${GDCM_BINARY_DIR}/ -) - +INCLUDE_DIRECTORIES( + ${GDCM_SOURCE_DIR}/src + ${GDCM_BINARY_DIR} + ${GDCM_BINARY_DIR}/src) SET(EXAMPLE_SOURCES -#names starting with 'ex' are examples - exBuildUpDicomDir - exReadPapyrus - exReadWriteFile - exAnonymize - exAnonymizeNoLoad # without loading the Pixel Data - exColorToRGB - exGC - exImageLighten - -#the following are utilities - PrintDicomDir - PrintDocument - PrintFile - PrintHeader - FindTags - MakeDicomDir - AnonymizeDicomDir # without loading it as a gdcm::DicomDir - -#the following will be transformed into 'examples', or 'utilities' -# or will be removed - - #test - FlatHashTablePrint - TestCopyDicom - TestChangeHeader - TestFromScratch - TestWrite - TestWriteSimple - Volume2Dicom - WriteDicomSimple - WriteRead + #names starting with 'ex' are examples + #Txt2Mat + #exDicomRTStructSetFile + #exExtractCSA + Dense2007ToDicom + exReadPapyrus + exReadWriteFile + exColorToRGB + exGrey2RGB + exGC + exImageLighten + #exInLine + exOverlaysACR + exOverlaysDCM + exCurveData + exExtractTag + exSerieHelper + exXCoherentFileSet + exExtractDicomTags + exMoveImagesToSingleSerieUID + #the following are utilities + PrintDicomDir + PrintFile + MakeDicomDir + AnonymizeDicomDir + # without loading it as a gdcm::DicomDir + Anonymize + # for full gdcm readable files + AnonymizeNoLoad + # without loading the Pixel Data + AnonymizeMultiPatient + # without loading the Pixel Data + PatchHeader + ToInTag + ReWrite + #ReWriteExtended + RawToDicom + TestValidate + ToMRIregister + DenseMultiFramesToDicom + + #BatchUncompress + ExtractOverlays + #the following will be transformed into 'examples', or 'utilities' + # or will be removed + # Better you don't use them (not fully checked ...) + FindTags + FlatHashTablePrint + Volume2Dicom + WriteDicomSimple + WriteRead + WriteDicomAsJPEG2000 + WriteDicomAsJPEG + exCTPET + #Slice ) -FOREACH(name ${EXAMPLE_SOURCES}) - ADD_EXECUTABLE(${name} ${name}.cxx) - TARGET_LINK_LIBRARIES(${name} gdcm) +FOREACH(name ${EXAMPLE_SOURCES}) + ADD_EXECUTABLE(${name} ${name}.cxx ) + TARGET_LINK_LIBRARIES(${name} gdcm) + INSTALL_TARGETS(/bin/ ${name}) ENDFOREACH(name) -