Add tuple2 & tuple4 & tuple5 & tuple6
This commit is contained in:
19
src/tuple/CMakeLists.txt
Normal file
19
src/tuple/CMakeLists.txt
Normal 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)
|
||||
Reference in New Issue
Block a user