xo-umbrella2/xo-unit/example/ex_su/CMakeLists.txt
Roland Conybeare 60f796b770 git subrepo clone git@github.com:Rconybea/xo-unit.git xo-unit
subrepo:
  subdir:   "xo-unit"
  merged:   "f1e698bf"
upstream:
  origin:   "git@github.com:Rconybea/xo-unit.git"
  branch:   "main"
  commit:   "f1e698bf"
git-subrepo:
  version:  "0.4.9"
  origin:   "???"
  commit:   "???"
2026-06-06 22:22:52 -04:00

15 lines
496 B
CMake

# xo-unit/example/su/CMakeLists.txt
set(SELF_EXE xo_unit_ex_su)
set(SELF_SRCS ex_su.cpp)
if (XO_ENABLE_EXAMPLES)
xo_add_executable(${SELF_EXE} ${SELF_SRCS})
xo_self_headeronly_dependency(${SELF_EXE} xo_unit)
xo_headeronly_dependency(${SELF_EXE} xo_ratio)
# bug -- headeronly dependencies not getting propagated, at least in submodule build
xo_headeronly_dependency(${SELF_EXE} xo_flatstring)
xo_headeronly_dependency(${SELF_EXE} indentlog)
endif()
# end CMakeLists.txt