26 lines
594 B
CMake
26 lines
594 B
CMake
# alloc2/CMakeLists.txt
|
|
|
|
set(SELF_LIB xo_alloc2)
|
|
set(SELF_SRCS
|
|
|
|
# AllocError.cpp
|
|
# AllocInfo.cpp
|
|
cmpresult.cpp
|
|
|
|
AAllocator.cpp
|
|
# ArenaConfig.cpp
|
|
DArena.cpp
|
|
IAllocator_Any.cpp
|
|
IAllocator_DArena.cpp
|
|
|
|
IAllocIterator_Any.cpp
|
|
DArenaIterator.cpp
|
|
IAllocIterator_DArenaIterator.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_arena)
|
|
xo_dependency(${SELF_LIB} xo_facet)
|
|
xo_dependency(${SELF_LIB} indentlog)
|