build: make callback header-only

This commit is contained in:
Roland Conybeare 2023-10-17 15:35:13 -04:00
commit 8e1f89440e

View file

@ -1,14 +1,14 @@
# callback/CMakeLists.txt
set(SELF_LIB callback)
set(SELF_SRCS CallbackSet.cpp)
#set(SELF_SRCS CallbackSet.cpp)
# reminder: can't be header-only library, because depends on non-header-only refcnt
xo_add_shared_library(${SELF_LIB} ${PROJECT_VERSION} 1 ${SELF_SRCS})
xo_add_headeronly_library(${SELF_LIB})
xo_install_library3(${SELF_LIB} ${PROJECT_NAME}Targets)
# ----------------------------------------------------------------
# external dependencies:
xo_dependency(${SELF_LIB} refcnt)
#xo_dependency(${SELF_LIB} refcnt)
# end CMakeLists.txt