1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71
|
# Define the srcs for Data Structure and Encoding Definitions
# DSED
set(DSED_SRCS
gdcmTag.cxx
gdcmTagToVR.cxx
gdcmPrivateTag.cxx
gdcmCodeString.cxx
gdcmByteValue.cxx
gdcmValue.cxx
gdcmFileSet.cxx
gdcmDataSet.cxx
gdcmByteSwapFilter.cxx
gdcmUNExplicitImplicitDataElement.cxx
gdcmExplicitDataElement.cxx
gdcmFileMetaInformation.cxx
gdcmFragment.cxx
gdcmImplicitDataElement.cxx
gdcmItem.cxx
gdcmReader.cxx
gdcmWriter.cxx
#gdcmParser.cxx
gdcmCSAHeader.cxx
gdcmPDBHeader.cxx
gdcmSequenceOfFragments.cxx
gdcmSequenceOfItems.cxx
gdcmTransferSyntax.cxx
gdcmMediaStorage.cxx
gdcmVM.cxx
gdcmVR.cxx
gdcmFile.cxx
gdcmPreamble.cxx
gdcmParseException.cxx
gdcmDataElement.cxx
gdcmUNExplicitDataElement.cxx
gdcmCP246ExplicitDataElement.cxx
gdcmExplicitImplicitDataElement.cxx
gdcmVR16ExplicitDataElement.cxx
)
# Add the include paths
include_directories(
# Bin:
"${GDCM_BINARY_DIR}/Source/Common"
# src:
"${GDCM_SOURCE_DIR}/Source/Common"
"${GDCM_SOURCE_DIR}/Source/DataDictionary"
"${GDCM_SOURCE_DIR}/Source/DataStructureAndEncodingDefinition/"
"${GDCM_SOURCE_DIR}/Utilities"
)
if(NOT GDCM_USE_SYSTEM_ZLIB)
include_directories(
"${GDCM_BINARY_DIR}/Utilities/gdcmzlib"
)
endif()
add_library(gdcmDSED ${DSED_SRCS})
target_link_libraries(gdcmDSED gdcmCommon)
# zlib stuff are actually included (template) so we need to link them here.
target_link_libraries(gdcmDSED ${GDCM_ZLIB_LIBRARIES})
set_target_properties(gdcmDSED PROPERTIES ${GDCM_LIBRARY_PROPERTIES} LINK_INTERFACE_LIBRARIES "gdcmCommon")
# libs
install_library(gdcmDSED)
# PDB
install_pdb(gdcmDSED)
# include files
install_includes("*.h" "*.txx")
|