Add tuple2 & tuple4 & tuple5 & tuple6

This commit is contained in:
luwenpeng
2023-12-15 16:34:53 +08:00
parent 90a6936fd6
commit 7653d646d3
13 changed files with 914 additions and 312 deletions

19
src/tuple/CMakeLists.txt Normal file
View File

@@ -0,0 +1,19 @@
###############################################################################
# tuple
###############################################################################
add_library(tuple tuple.cpp)
target_include_directories(tuple PUBLIC ${CMAKE_SOURCE_DIR}/src/tuple)
target_include_directories(tuple PUBLIC ${CMAKE_SOURCE_DIR}/src/crc32)
target_link_libraries(tuple)
###############################################################################
# gtest
###############################################################################
add_executable(gtest_tuple gtest_tuple.cpp)
target_include_directories(gtest_tuple PUBLIC ${CMAKE_CURRENT_LIST_DIR})
target_link_libraries(gtest_tuple tuple gtest)
include(GoogleTest)
gtest_discover_tests(gtest_tuple)