30 lines
760 B
CMake
30 lines
760 B
CMake
# xo-ppsink/utest/CMakeLists.txt
|
|
|
|
set(SELF_EXECUTABLE_NAME utest.ppsink)
|
|
set(SELF_SOURCE_FILES
|
|
ppsink_utest_main.cpp
|
|
escape.test.cpp
|
|
FlatSink.test.cpp
|
|
Prettifier.test.cpp
|
|
function_name.test.cpp
|
|
dwim.test.cpp
|
|
hex.test.cpp
|
|
pad.test.cpp
|
|
pp_time.test.cpp
|
|
struct_scope.test.cpp
|
|
concat.test.cpp
|
|
pretty_struct.test.cpp
|
|
tag_ostream.test.cpp
|
|
tostr.test.cpp
|
|
verify_policy.test.cpp
|
|
PpStyle.test.cpp
|
|
TempPpSink.test.cpp
|
|
scope.test.cpp)
|
|
|
|
if (ENABLE_TESTING)
|
|
xo_add_utest_executable(${SELF_EXECUTABLE_NAME} ${SELF_SOURCE_FILES})
|
|
xo_self_dependency(${SELF_EXECUTABLE_NAME} xo_ppsink)
|
|
xo_external_target_dependency(${SELF_EXECUTABLE_NAME} Catch2 Catch2::Catch2)
|
|
endif()
|
|
|
|
# end CMakeLists.txt
|