xo-umbrella2/xo-refcnt/utest/CMakeLists.txt
Roland Conybeare dafaad4b1e git subrepo clone git@github.com:Rconybea/xo-refcnt.git xo-refcnt
subrepo:
  subdir:   "xo-refcnt"
  merged:   "bad785bd"
upstream:
  origin:   "git@github.com:Rconybea/xo-refcnt.git"
  branch:   "main"
  commit:   "bad785bd"
git-subrepo:
  version:  "0.4.9"
  origin:   "???"
  commit:   "???"
2026-06-06 22:18:44 -04:00

15 lines
521 B
CMake

# build unittest 'refcnt/utest/utest.refcnt
set(SELF_EXECUTABLE_NAME utest.refcnt)
# These tests can use the Catch2-provided main
set(SELF_SOURCE_FILES intrusive_ptr.test.cpp refcnt_utest_main.cpp)
xo_add_utest_executable(${SELF_EXECUTABLE_NAME} ${SELF_SOURCE_FILES})
# ----------------------------------------------------------------
# 3rd party dependency: catch2:
xo_self_dependency(${SELF_EXECUTABLE_NAME} refcnt)
xo_external_target_dependency(${SELF_EXECUTABLE_NAME} Catch2 Catch2::Catch2)
# end CMakeLists.txt