xo-unit: build: use xo_add_executable() for all examples

This commit is contained in:
Roland Conybeare 2024-05-04 15:02:59 -04:00
commit 2fe58ef8c8
5 changed files with 5 additions and 10 deletions

View file

@ -3,8 +3,7 @@
set(SELF_EXE xo_unit_ex2)
set(SELF_SRCS ex2.cpp)
add_executable(${SELF_EXE} ${SELF_SRCS})
xo_include_options2(${SELF_EXE})
xo_add_executable(${SELF_EXE} ${SELF_SRCS})
# ----------------------------------------------------------------
# dependencies..

View file

@ -3,8 +3,7 @@
set(SELF_EXE xo_unit_ex3)
set(SELF_SRCS ex3.cpp)
add_executable(${SELF_EXE} ${SELF_SRCS})
xo_include_options2(${SELF_EXE})
xo_add_executable(${SELF_EXE} ${SELF_SRCS})
# ----------------------------------------------------------------
# dependencies..

View file

@ -3,8 +3,7 @@
set(SELF_EXE xo_unit_ex4)
set(SELF_SRCS ex4.cpp)
add_executable(${SELF_EXE} ${SELF_SRCS})
xo_include_options2(${SELF_EXE})
xo_add_executable(${SELF_EXE} ${SELF_SRCS})
# ----------------------------------------------------------------
# dependencies..

View file

@ -3,8 +3,7 @@
set(SELF_EXE xo_unit_ex5)
set(SELF_SRCS ex5.cpp)
add_executable(${SELF_EXE} ${SELF_SRCS})
xo_include_options2(${SELF_EXE})
xo_add_executable(${SELF_EXE} ${SELF_SRCS})
# ----------------------------------------------------------------
# dependencies..

View file

@ -3,8 +3,7 @@
set(SELF_EXE xo_unit_ex6)
set(SELF_SRCS ex6.cpp)
add_executable(${SELF_EXE} ${SELF_SRCS})
xo_include_options2(${SELF_EXE})
xo_add_executable(${SELF_EXE} ${SELF_SRCS})
# ----------------------------------------------------------------
# dependencies..