xo-umbrella2/xo-alloc/utest/CMakeLists.txt
Roland Conybeare 2c8faf6e43 git subrepo clone git@github.com:Rconybea/xo-alloc.git xo-alloc
subrepo:
  subdir:   "xo-alloc"
  merged:   "fc656313"
upstream:
  origin:   "git@github.com:Rconybea/xo-alloc.git"
  branch:   "main"
  commit:   "fc656313"
git-subrepo:
  version:  "0.4.9"
  origin:   "???"
  commit:   "???"
2026-06-06 22:03:21 -04:00

26 lines
624 B
CMake

# xo-alloc/utest/CMakeLists.txt
#
# NOTE: more GC tests in xo-object/utest
set(UTEST_EXE utest.alloc)
set(UTEST_SRCS
alloc_utest_main.cpp
IAlloc.test.cpp
ArenaAlloc.test.cpp
ListAlloc.test.cpp
GC.test.cpp
GcStatistics.test.cpp
ObjectStatistics.test.cpp
Forwarding1.test.cpp
CircularBuffer.test.cpp
generation.test.cpp
)
if (ENABLE_TESTING)
xo_add_utest_executable(${UTEST_EXE} ${UTEST_SRCS})
xo_self_dependency(${UTEST_EXE} xo_alloc)
xo_dependency(${UTEST_EXE} reflect)
xo_external_target_dependency(${UTEST_EXE} Catch2 Catch2::Catch2)
endif()
# end CmakeLists.txt