INCLUDE_DIRECTORIES(${CMAKE_CURRENT_BINARY_DIR})
INCLUDE_DIRECTORIES(${parity_BINARY_DIR}/parity.utils)
INCLUDE_DIRECTORIES(${parity_SOURCE_DIR}/parity.utils)
ADD_LIBRARY(
    parity_parity.binary
    CoffDirectiveSection.cpp
    CoffFileHeader.h
    CoffSymbol.h
    CoffAuxSymbol.h
    CoffRelocation.h
    CoffFile.h
    CoffHelperPackStart.h
    CoffFile.cpp
    CoffImportDirectory.cpp
    CoffArchive.cpp
    CoffSection.h
    CoffSectionAuxSymbol.h
    CoffSection.cpp
    CoffImage.h
    CoffImportDirectory.h
    CoffSymbol.cpp
    CoffDirectiveSection.h
    CoffImport.cpp
    CoffInstruction.h
    CoffObject.h
    CoffImport.h
    CoffHelperPackStop.h
    CoffFileHeader.cpp
    CoffMsDosStub.h
    CoffDecoder.h
    CoffMsDosStub.cpp
    CoffArchive.h
    CoffOptionalHeader.h
    CoffDecoder.cpp
)
TARGET_LINK_LIBRARIES(
    parity_parity.binary
    parity_parity.utils
)
# node-specific target for this directory
ADD_CUSTOM_TARGET(
    confix-node-specific-target--parity.binary
)
# edge from my node's node-specific target to
# all toplevel targets of this directory
ADD_DEPENDENCIES(
    confix-node-specific-target--parity.binary
    parity_parity.binary
)
# edges from this directory's node-specific target
# to all successors' node-specific targets
ADD_DEPENDENCIES(
    confix-node-specific-target--parity.binary
    confix-node-specific-target--parity.utils
)
# edges from top-level target parity_parity.binary to
# all successors' node-specific targets
ADD_DEPENDENCIES(
    parity_parity.binary
    confix-node-specific-target--parity.utils
)
INSTALL(
    FILES CoffAuxSymbol.h
    DESTINATION include
)
INSTALL(
    FILES CoffFile.h
    DESTINATION include
)
INSTALL(
    FILES CoffSymbol.h
    DESTINATION include
)
INSTALL(
    FILES CoffImport.h
    DESTINATION include
)
INSTALL(
    FILES CoffFileHeader.h
    DESTINATION include
)
INSTALL(
    FILES CoffHelperPackStart.h
    DESTINATION include
)
INSTALL(
    FILES CoffSectionAuxSymbol.h
    DESTINATION include
)
INSTALL(
    FILES CoffDirectiveSection.h
    DESTINATION include
)
INSTALL(
    FILES CoffSection.h
    DESTINATION include
)
INSTALL(
    FILES CoffImportDirectory.h
    DESTINATION include
)
INSTALL(
    FILES CoffArchive.h
    DESTINATION include
)
INSTALL(
    FILES CoffOptionalHeader.h
    DESTINATION include
)
INSTALL(
    FILES CoffHelperPackStop.h
    DESTINATION include
)
INSTALL(
    FILES CoffInstruction.h
    DESTINATION include
)
INSTALL(
    FILES CoffImage.h
    DESTINATION include
)
INSTALL(
    FILES CoffMsDosStub.h
    DESTINATION include
)
INSTALL(
    FILES CoffRelocation.h
    DESTINATION include
)
INSTALL(
    FILES CoffDecoder.h
    DESTINATION include
)
INSTALL(
    FILES CoffObject.h
    DESTINATION include
)
INSTALL(
    TARGETS parity_parity.binary
    DESTINATION lib
)
