xo-ratio: streamline example+utest build

This commit is contained in:
Roland Conybeare 2024-05-30 16:36:20 -04:00
commit ae69a418ff
4 changed files with 17 additions and 58 deletions

View file

@ -3,13 +3,10 @@
set(SELF_EXE xo_ratio_ex1)
set(SELF_SRCS ex1.cpp)
add_executable(${SELF_EXE} ${SELF_SRCS})
xo_include_options2(${SELF_EXE})
# ----------------------------------------------------------------
# dependencies..
xo_self_dependency(${SELF_EXE} xo_ratio)
#xo_dependency(${SELF_EXE} reflect)
if (XO_ENABLE_EXAMPLES)
add_executable(${SELF_EXE} ${SELF_SRCS})
xo_include_options2(${SELF_EXE})
xo_self_dependency(${SELF_EXE} xo_ratio)
endif()
# end CMakeLists.txt