xo-umbrella2/xo-alloc2/src/alloc2/CMakeLists.txt

25 lines
541 B
CMake

# alloc2/CMakeLists.txt
set(SELF_LIB xo_alloc2)
set(SELF_SRCS
AllocInfo.cpp
AAllocator.cpp
DArena.cpp
IAllocator_Any.cpp
IAllocator_DArena.cpp
ICollector_Any.cpp
IGCObject_Any.cpp
IAllocator_DX1Collector.cpp
ICollector_DX1Collector.cpp
DX1Collector.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_facet)
xo_dependency(${SELF_LIB} indentlog)