Parsodus/tests/CMakeLists.txt

23 lines
484 B
CMake
Raw Normal View History

2016-11-27 14:49:28 +01:00
add_executable(Parsodus-test
2017-01-02 20:10:57 +01:00
lr0_shift-red.cpp
2017-01-17 11:25:26 +01:00
lr1_only.cpp
2016-11-27 14:49:28 +01:00
)
target_link_libraries(Parsodus-test
2016-12-30 17:38:42 +01:00
# Parsodus-backends
2017-01-03 15:58:55 +01:00
Parsodus-tables
Parsodus-util
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()