This repository has been archived on 2025-09-14. You can view files and clone it, but cannot push or open issues or pull requests.
Files
tango-tfe/common/test/CMakeLists.txt

33 lines
1.4 KiB
CMake
Raw Normal View History

###############################################################################
# gtest_addr
###############################################################################
add_executable(gtest_addr test_addr.cpp)
target_include_directories(gtest_addr PUBLIC ${CMAKE_SOURCE_DIR}/common/include)
target_link_libraries(gtest_addr common gtest)
###############################################################################
# gtest_cmsg
###############################################################################
add_executable(gtest_cmsg test_cmsg.cpp)
target_include_directories(gtest_cmsg PUBLIC ${CMAKE_SOURCE_DIR}/common/include)
target_link_libraries(gtest_cmsg common gtest)
###############################################################################
# gtest_session_table
###############################################################################
add_executable(gtest_session_table test_session_table.cpp)
target_include_directories(gtest_session_table PUBLIC ${CMAKE_SOURCE_DIR}/common/include)
target_link_libraries(gtest_session_table common gtest)
###############################################################################
# gtest_discover_tests
###############################################################################
include(GoogleTest)
gtest_discover_tests(gtest_addr)
gtest_discover_tests(gtest_cmsg)
gtest_discover_tests(gtest_session_table)