skullc-peripherals/Tests/CMakeLists.txt
Erki b626999684
All checks were successful
continuous-integration/drone/push Build is passing
Messaging: simple and fun packet parser implementation.
2021-03-28 16:43:05 +03:00

20 lines
338 B
CMake

cmake_minimum_required(VERSION 3.14 FATAL_ERROR)
find_package(Catch2 REQUIRED)
add_executable(tests
main.cpp
ringbuffer.cpp
packet.cpp
parser.cpp)
target_link_libraries(tests
PUBLIC
skullc::utility
skullc::messaging
Catch2::Catch2
)
include(CTest)
include(Catch)
catch_discover_tests(tests)