# xo-reactor/src/reactor/CMakeLists.txt

set(SELF_LIB reactor)
set(SELF_SRCS
    AbstractEventProcessor.cpp AbstractSource.cpp ReactorSource.cpp
    Sink.cpp
    Reactor.cpp PollingReactor.cpp
    init_reactor.cpp)

xo_add_shared_library(${SELF_LIB} ${PROJECT_VERSION} 1 ${SELF_SRCS})

# ----------------------------------------------------------------
# external dependencies

# note: changes to xo_dependency() calls here
#       must coordinate with find_dependency() calls
#       in xo-reactor/cmake/reactorConfig.cmake.in
#
xo_dependency(${SELF_LIB} reflect)
xo_dependency(${SELF_LIB} webutil)
xo_dependency(${SELF_LIB} callback)
