Parsodus/tests/CMakeLists.txt

21 lines
437 B
CMake
Raw Normal View History

2016-11-27 14:49:28 +01:00
add_executable(Parsodus-test
test.cpp
)
target_link_libraries(Parsodus-test
#Parsodus-tables
2016-12-30 17:38:42 +01:00
# Parsodus-backends
2016-11-27 14:49:28 +01:00
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()