project(tw_message_protocol_tests) file(GLOB FILES ./*.cpp ) add_executable(${PROJECT_NAME} ${FILES}) # tw::quicr is listed explicitly because CMake does not propagate the object # files of an OBJECT library through another OBJECT library. target_link_libraries(${PROJECT_NAME} PRIVATE tw::message_protocol tw::quicr Catch2::Catch2WithMain tl::expected ) list(APPEND CMAKE_MODULE_PATH ${catch2_SOURCE_DIR}/extras) include(CTest) include(Catch) catch_discover_tests(${PROJECT_NAME})