21 lines
447 B
CMake
21 lines
447 B
CMake
# Unit tests for the CoPrtCnv library.
|
|
# GoogleTest is resolved once in the top-level CMakeLists.txt.
|
|
|
|
add_executable(CoPrtCnvTests
|
|
${CMAKE_CURRENT_SOURCE_DIR}/../../unittest_main.cpp
|
|
CoPrtCnvRadioTelegramTest.cpp
|
|
)
|
|
|
|
target_include_directories(CoPrtCnvTests PRIVATE
|
|
${CMAKE_CURRENT_SOURCE_DIR}/..
|
|
)
|
|
|
|
target_link_libraries(CoPrtCnvTests PRIVATE
|
|
CoPrtCnv
|
|
Qt6::Core
|
|
GTest::gtest
|
|
)
|
|
|
|
include(GoogleTest)
|
|
gtest_discover_tests(CoPrtCnvTests)
|