xo-gc/src/gc/CMakeLists.txt
Roland Conybeare 9e74e35c68 xo-gc: refactor: demote GCObjectVisitor to GCObjectStore
No longer needed by DX1Collector
Also retires utest/MockCollector
2026-04-12 14:54:38 -04:00

38 lines
847 B
CMake

# gc/CMakeLists.txt
set(SELF_LIB xo_gc)
set(SELF_SRCS
init_gc.cpp
SetupGc.cpp
IAllocator_DX1Collector.cpp
IAllocIterator_DX1CollectorIterator.cpp
X1CollectorConfig.cpp
DX1Collector.cpp
facet/ICollector_DX1Collector.cpp
DX1CollectorIterator.cpp
DGCObjectStoreVisitor.cpp
facet/IGCObjectVisitor_DGCObjectStoreVisitor.cpp
GCObjectStoreConfig.cpp
GCObjectStore.cpp
MutationLogConfig.cpp
MutationLogStore.cpp
MutationLogEntry.cpp
)
xo_add_shared_library4(${SELF_LIB} ${PROJECT_NAME}Targets ${PROJECT_VERSION} 1 ${SELF_SRCS})
# note: deps here must also appear in cmake/xo_alloc2Config.cmake.in
xo_dependency(${SELF_LIB} xo_object2)
xo_dependency(${SELF_LIB} xo_alloc2)
xo_dependency(${SELF_LIB} xo_facet)
xo_dependency(${SELF_LIB} subsys)
xo_dependency(${SELF_LIB} indentlog)