xref: /aosp_15_r20/external/abseil-cpp/absl/meta/CMakeLists.txt (revision 9356374a3709195abf420251b3e825997ff56c0f)
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
17absl_cc_library(
18  NAME
19    type_traits
20  HDRS
21    "type_traits.h"
22  COPTS
23    ${ABSL_DEFAULT_COPTS}
24  DEPS
25    absl::config
26    absl::core_headers
27  PUBLIC
28)
29
30absl_cc_test(
31  NAME
32    type_traits_test
33  SRCS
34    "type_traits_test.cc"
35  COPTS
36    ${ABSL_TEST_COPTS}
37  DEPS
38    absl::config
39    absl::time
40    absl::core_headers
41    absl::type_traits
42    GTest::gmock_main
43)
44
45# component target
46absl_cc_library(
47  NAME
48    meta
49  COPTS
50    ${ABSL_DEFAULT_COPTS}
51  DEPS
52    absl::type_traits
53  PUBLIC
54)
55