xo-umbrella2/xo-object/example/ex1/CMakeLists.txt
Roland Conybeare 8da97cc60a bugfix: misuse of xo_self_headeronly_dependency() [BUILD]
should only be used in header-only library targets,
never in executable targets
2026-07-25 16:50:11 -04:00

12 lines
286 B
CMake

# xo-object/example/ex1/CMakeLists.txt
set(SELF_EXE xo_object_ex1)
set(SELF_SRCS ex1.cpp)
if (XO_ENABLE_EXAMPLES)
xo_add_executable(${SELF_EXE} ${SELF_SRCS})
xo_self_dependency(${SELF_EXE} xo_reflect)
xo_dependency(${SELF_EXE} xo_flatstring)
endif()
# end CMakeLists.txt