# xo-alloc2/utest/CMakeLists.txt
#

set(UTEST_EXE utest.arena)
set(UTEST_SRCS
    arena_utest_main.cpp
#    objectmodel.test.cpp
    DArena.test.cpp
    DArenaVector.test.cpp
    DArenaHashMap.test.cpp
    DCircularBuffer.test.cpp
#    DArenaIterator.test.cpp
#    random_allocs.cpp
)

if (ENABLE_TESTING)
    xo_add_utest_executable(${UTEST_EXE} ${UTEST_SRCS})
    xo_self_dependency(${UTEST_EXE} xo_arena)
    xo_headeronly_dependency(${UTEST_EXE} randomgen)
#    xo_headeronly_dependency(${UTEST_EXE} indentlog)
    xo_external_target_dependency(${UTEST_EXE} Catch2 Catch2::Catch2)
endif()

# end CMakeLists.txt
