INCLUDE_DIRECTORIES(${CMAKE_CURRENT_BINARY_DIR})
INCLUDE_DIRECTORIES(${parity_BINARY_DIR}/)
INCLUDE_DIRECTORIES(${parity_SOURCE_DIR}/)
INCLUDE_DIRECTORIES(${parity_BINARY_DIR}/parity.options)
INCLUDE_DIRECTORIES(${parity_SOURCE_DIR}/parity.options)
INCLUDE_DIRECTORIES(${parity_BINARY_DIR}/parity.tasks)
INCLUDE_DIRECTORIES(${parity_SOURCE_DIR}/parity.tasks)
INCLUDE_DIRECTORIES(${parity_BINARY_DIR}/parity.binary)
INCLUDE_DIRECTORIES(${parity_SOURCE_DIR}/parity.binary)
INCLUDE_DIRECTORIES(${parity_BINARY_DIR}/parity.utils)
INCLUDE_DIRECTORIES(${parity_SOURCE_DIR}/parity.utils)
ADD_EXECUTABLE(
    parity.diagnostic.exe
    Diagnostic.cpp
)
TARGET_LINK_LIBRARIES(
    parity.diagnostic.exe
    parity_parity.runtime
    parity_parity.loader
    parity_parity.options
    parity_parity.tasks
    parity_parity.binary
    parity_parity.utils
)
# node-specific target for this directory
ADD_CUSTOM_TARGET(
    confix-node-specific-target--parity.diagnostic
)
# edge from my node's node-specific target to
# all toplevel targets of this directory
ADD_DEPENDENCIES(
    confix-node-specific-target--parity.diagnostic
    parity.diagnostic.exe
)
# edges from this directory's node-specific target
# to all successors' node-specific targets
ADD_DEPENDENCIES(
    confix-node-specific-target--parity.diagnostic
    confix-node-specific-target--parity.loader confix-node-specific-target--parity.gnu.gcc confix-node-specific-target--parity.runtime
)
# edges from top-level target parity.diagnostic.exe to
# all successors' node-specific targets
ADD_DEPENDENCIES(
    parity.diagnostic.exe
    confix-node-specific-target--parity.loader confix-node-specific-target--parity.gnu.gcc confix-node-specific-target--parity.runtime
)
INSTALL(
    TARGETS parity.diagnostic.exe
    DESTINATION bin
)
