33 lines
1.4 KiB
CMake
33 lines
1.4 KiB
CMake
|
|
###############################################################################
|
||
|
|
# 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)
|