xo-indentlog: streamline build for examples

This commit is contained in:
Roland Conybeare 2024-05-30 16:35:01 -04:00
commit 25039f88e8
7 changed files with 42 additions and 25 deletions

View file

@ -1,4 +1,6 @@
# NOTE: need target names to be globally unique within the xo umbrella
add_executable(indentlog_ex2 ex2.cpp)
xo_include_options2(indentlog_ex2)
if (XO_ENABLE_EXAMPLES)
add_executable(indentlog_ex2 ex2.cpp)
xo_include_options2(indentlog_ex2)
endif()