EventBus/test/CMakeLists.txt
Dawid Drozd 7c63021ea3 Add integration tests
- Refactor unit tests
2020-03-12 09:48:03 +01:00

19 lines
437 B
CMake

cmake_minimum_required(VERSION 3.11 FATAL_ERROR)
# http://www.levelofindirection.com/journal/2010/12/28/unit-testing-in-c-and-objective-c-just-got-easier.html
# Thanks for CATCH!
project(EventBusTest)
# Dependencies
enable_testing()
if(NOT TARGET Dexode::EventBus)
find_package(EventBus CONFIG REQUIRED)
endif()
find_package(Catch2 2.10 REQUIRED)
find_package(Threads REQUIRED)
add_subdirectory(unit)
add_subdirectory(integration)