15 lines
492 B
CMake
15 lines
492 B
CMake
# webutil/CMakeLists.txt
|
|
|
|
set(SELF_LIB webutil)
|
|
set(SELF_SRCS StreamEndpointDescr.cpp HttpEndpointDescr.cpp Alist.cpp)
|
|
|
|
# reminder: can't be header-only library, because depends on non-header-only callback (bc of non-header-only refcnt)
|
|
xo_add_shared_library(${SELF_LIB} ${PROJECT_VERSION} 1 ${SELF_SRCS})
|
|
|
|
# ----------------------------------------------------------------
|
|
# external dependencies
|
|
|
|
xo_dependency(${SELF_LIB} refcnt)
|
|
xo_dependency(${SELF_LIB} callback)
|
|
|
|
# end CMakeLists.txt
|