-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathCMakeLists.txt
More file actions
31 lines (25 loc) · 782 Bytes
/
Copy pathCMakeLists.txt
File metadata and controls
31 lines (25 loc) · 782 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
set(CMAKE_POLICY_DEFAULT_CMP0077 NEW)
cmake_minimum_required(VERSION 3.12)
project(ZipIterator)
set(FETCHCONTENT_QUIET OFF)
include(FetchContent)
FetchContent_Declare(googletest SYSTEM
GIT_REPOSITORY https://github.com/google/googletest
GIT_TAG v1.13.x
GIT_PROGRESS TRUE
)
FetchContent_MakeAvailable(googletest)
add_executable(test_zip_two test_zip_two.cpp)
target_compile_features(test_zip_two PRIVATE cxx_std_17)
target_link_libraries(test_zip_two PRIVATE
gtest
gtest_main
pthread)
add_test(test_zip_two test_zip_two)
add_executable(test_zip_tuple test_zip_tuple.cpp)
target_compile_features(test_zip_tuple PRIVATE cxx_std_17)
target_link_libraries(test_zip_tuple PRIVATE
gtest
gtest_main
pthread)
add_test(test_zip_tuple test_zip_tuple)