add_executable(Parsodus-test test.cpp ) target_link_libraries(Parsodus-test #Parsodus-tables # Parsodus-backends pds mstch::mstch ${GTEST_BOTH_LIBRARIES} ) include(FindGTest) GTEST_ADD_TESTS(Parsodus-test "" AUTO) if (CMAKE_BUILD_TYPE MATCHES Debug) SETUP_TARGET_FOR_COVERAGE(coverage Parsodus-test coverage) if (TARGET ext-lcov) add_dependencies(coverage ext-lcov) endif () endif()