CMakeLists.txt (1367B)
1 # 2 # Copyright 2017 The Abseil Authors. 3 # 4 # Licensed under the Apache License, Version 2.0 (the "License"); 5 # you may not use this file except in compliance with the License. 6 # You may obtain a copy of the License at 7 # 8 # https://www.apache.org/licenses/LICENSE-2.0 9 # 10 # Unless required by applicable law or agreed to in writing, software 11 # distributed under the License is distributed on an "AS IS" BASIS, 12 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 # See the License for the specific language governing permissions and 14 # limitations under the License. 15 # 16 17 absl_cc_library( 18 NAME 19 algorithm 20 HDRS 21 "algorithm.h" 22 COPTS 23 ${ABSL_DEFAULT_COPTS} 24 DEPS 25 absl::config 26 PUBLIC 27 ) 28 29 absl_cc_test( 30 NAME 31 algorithm_test 32 SRCS 33 "algorithm_test.cc" 34 COPTS 35 ${ABSL_TEST_COPTS} 36 DEPS 37 absl::algorithm 38 absl::config 39 GTest::gmock_main 40 ) 41 42 absl_cc_library( 43 NAME 44 algorithm_container 45 HDRS 46 "container.h" 47 COPTS 48 ${ABSL_DEFAULT_COPTS} 49 DEPS 50 absl::algorithm 51 absl::config 52 absl::core_headers 53 absl::meta 54 absl::nullability 55 PUBLIC 56 ) 57 58 absl_cc_test( 59 NAME 60 container_test 61 SRCS 62 "container_test.cc" 63 COPTS 64 ${ABSL_TEST_COPTS} 65 DEPS 66 absl::algorithm_container 67 absl::base 68 absl::config 69 absl::core_headers 70 absl::memory 71 absl::span 72 GTest::gmock_main 73 )