############################################################################### # 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_raw_packet ############################################################################### add_executable(gtest_raw_packet test_raw_packet.cpp) target_include_directories(gtest_raw_packet PUBLIC ${CMAKE_SOURCE_DIR}/common/include) target_link_libraries(gtest_raw_packet common gtest) ############################################################################### # test_fixed_buffer ############################################################################### #add_executable(test_fixed_buffer test_fixed_buffer.cpp ${CMAKE_SOURCE_DIR}/common/src/fixed_buffer.cpp) #target_include_directories(test_fixed_buffer PUBLIC ${CMAKE_SOURCE_DIR}/common/include) ############################################################################### # gtest_discover_tests ############################################################################### include(GoogleTest) gtest_discover_tests(gtest_addr) gtest_discover_tests(gtest_cmsg) gtest_discover_tests(gtest_session_table) gtest_discover_tests(gtest_raw_packet) #gtest_discover_tests(test_fixed_buffer)