skullc-peripherals/Tests/CMakeLists.txt
Erki 9820816d06
All checks were successful
continuous-integration/drone/push Build is passing
Make the project use cmake components
2021-03-28 18:18:27 +03:00

20 lines
337 B
CMake

cmake_minimum_required(VERSION 3.8 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)