xo-umbrella2/xo-alloc2/utest/CMakeLists.txt
Roland Conybeare 5ef221ea80
Some checks failed
cmake-docker / cmake-build (clang, clang++) (push) Failing after 25m54s
cmake-docker / cmake-build (gcc, g++) (push) Failing after 9m40s
CI / smoke-test (push) Failing after 24s
xo-alloc2: xo-ppsink !xo-indentlog [REFACTOR]
2026-08-01 15:47:08 -04:00

30 lines
823 B
CMake

# xo-alloc2/utest/CMakeLists.txt
#
set(UTEST_EXE utest.alloc2)
set(UTEST_SRCS
alloc2_utest_main.cpp
objectmodel.test.cpp
arena.test.cpp
IAllocator_Any.test.cpp
DArenaIterator.test.cpp
Generation.test.cpp
Role.test.cpp
VisitReason.test.cpp
ResourceVisitor.test.cpp
dp.test.cpp
random_allocs.cpp
)
if (ENABLE_TESTING)
xo_add_utest_executable(${UTEST_EXE} ${UTEST_SRCS})
xo_self_dependency(${UTEST_EXE} xo_alloc2)
xo_dependency(${UTEST_EXE} xo_testutil)
xo_headeronly_dependency(${UTEST_EXE} randomgen)
xo_dependency(${UTEST_EXE} xo_ppsink)
xo_headeronly_dependency(${UTEST_EXE} xo_facet)
xo_external_target_dependency(${UTEST_EXE} Catch2 Catch2::Catch2)
xo_external_target_dependency(${UTEST_EXE} CLI11 CLI11::CLI11)
endif()
# end CMakeLists.txt