1. xo-gc now depends on xo-object2. 2. use genfacet for ICollector_DX1Collector 3. moves xo-gc utest previously in xo-object2 to more natural location in xo-gc/
23 lines
599 B
CMake
23 lines
599 B
CMake
# xo-gc/utest/CMakeLists.txt
|
|
#
|
|
|
|
set(UTEST_EXE utest.gc)
|
|
set(UTEST_SRCS
|
|
gc_utest_main.cpp
|
|
Collector.test.cpp
|
|
X1Collector.test.cpp
|
|
DX1CollectorIterator.test.cpp
|
|
Object2.test.cpp
|
|
random_allocs.cpp
|
|
)
|
|
|
|
if (ENABLE_TESTING)
|
|
xo_add_utest_executable(${UTEST_EXE} ${UTEST_SRCS})
|
|
xo_headeronly_dependency(${UTEST_EXE} randomgen)
|
|
xo_self_dependency(${UTEST_EXE} xo_gc)
|
|
# xo_headeronly_dependency(${UTEST_EXE} indentlog)
|
|
xo_headeronly_dependency(${UTEST_EXE} xo_facet)
|
|
xo_external_target_dependency(${UTEST_EXE} Catch2 Catch2::Catch2)
|
|
endif()
|
|
|
|
# end CMakeLists.txt
|