xref: /aosp_15_r20/external/abseil-cpp/absl/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
17add_subdirectory(base)
18add_subdirectory(algorithm)
19add_subdirectory(cleanup)
20add_subdirectory(container)
21add_subdirectory(crc)
22add_subdirectory(debugging)
23add_subdirectory(flags)
24add_subdirectory(functional)
25add_subdirectory(hash)
26add_subdirectory(log)
27add_subdirectory(memory)
28add_subdirectory(meta)
29add_subdirectory(numeric)
30add_subdirectory(profiling)
31add_subdirectory(random)
32add_subdirectory(status)
33add_subdirectory(strings)
34add_subdirectory(synchronization)
35add_subdirectory(time)
36add_subdirectory(types)
37add_subdirectory(utility)
38
39if (ABSL_BUILD_DLL)
40  absl_make_dll()
41  if ((BUILD_TESTING AND ABSL_BUILD_TESTING) OR ABSL_BUILD_TEST_HELPERS)
42    absl_make_dll(TEST ON)
43  endif()
44endif()
45