xo-reader2/xo-printjson/utest/CMakeLists.txt
Roland Conybeare 9c8e23577e Add 'xo-printjson/' from commit '6743b9ef18'
git-subtree-dir: xo-printjson
git-subtree-mainline: d49c309f80
git-subtree-split: 6743b9ef18
2025-05-11 14:58:48 -05:00

10 lines
303 B
CMake

# build unittest printjson/utest
set(SELF_EXE utest.printjson)
set(SELF_SRCS printjson_utest_main.cpp PrintJson.test.cpp)
xo_add_utest_executable(${SELF_EXE} ${SELF_SRCS})
xo_self_dependency(${SELF_EXE} printjson)
xo_external_target_dependency(${SELF_EXE} Catch2 Catch2::Catch2)
# end CMakeLists.txt