INCLUDE_DIRECTORIES(${CMAKE_CURRENT_BINARY_DIR})
INCLUDE_DIRECTORIES(${parity_BINARY_DIR}/parity.utils)
INCLUDE_DIRECTORIES(${parity_SOURCE_DIR}/parity.utils)
ADD_LIBRARY(
    parity_parity.options
    Version.h
    TableMsLink.h
    Linker.cpp
    TableGnuGcc.h
    TableGnuLd.cpp
    Compiler.h
    TableMsCl.cpp
    CommandLine.h
    Misc.h
    TableMsCl.h
    Linker.h
    Optimize.h
    Optimize.cpp
    TableGnuGcc.cpp
    TableMsLink.cpp
    Argument.h
    TableGnuLd.h
    Compiler.cpp
    Preprocessor.h
    Internal.cpp
    Misc.cpp
    Internal.h
    Argument.cpp
    Preprocessor.cpp
    CommandLine.cpp
)
TARGET_LINK_LIBRARIES(
    parity_parity.options
    parity_parity.utils
)
# node-specific target for this directory
ADD_CUSTOM_TARGET(
    confix-node-specific-target--parity.options
)
# edge from my node's node-specific target to
# all toplevel targets of this directory
ADD_DEPENDENCIES(
    confix-node-specific-target--parity.options
    parity_parity.options
)
# edges from this directory's node-specific target
# to all successors' node-specific targets
ADD_DEPENDENCIES(
    confix-node-specific-target--parity.options
    confix-node-specific-target--parity.utils
)
# edges from top-level target parity_parity.options to
# all successors' node-specific targets
ADD_DEPENDENCIES(
    parity_parity.options
    confix-node-specific-target--parity.utils
)
INSTALL(
    FILES TableMsLink.h
    DESTINATION include
)
INSTALL(
    FILES Version.h
    DESTINATION include
)
INSTALL(
    FILES TableGnuLd.h
    DESTINATION include
)
INSTALL(
    FILES CommandLine.h
    DESTINATION include
)
INSTALL(
    FILES Misc.h
    DESTINATION include
)
INSTALL(
    FILES Argument.h
    DESTINATION include
)
INSTALL(
    FILES Internal.h
    DESTINATION include
)
INSTALL(
    FILES Compiler.h
    DESTINATION include
)
INSTALL(
    FILES Preprocessor.h
    DESTINATION include
)
INSTALL(
    FILES TableMsCl.h
    DESTINATION include
)
INSTALL(
    FILES Linker.h
    DESTINATION include
)
INSTALL(
    FILES Optimize.h
    DESTINATION include
)
INSTALL(
    FILES TableGnuGcc.h
    DESTINATION include
)
INSTALL(
    TARGETS parity_parity.options
    DESTINATION lib
)
