11include (CMakeParseArguments)
2+ include (GNUInstallDirs)
23
34set (ABSL_INTERNAL_DLL_FILES
45 "algorithm/algorithm.h"
@@ -8,18 +9,14 @@ set(ABSL_INTERNAL_DLL_FILES
89 "base/casts.h"
910 "base/config.h"
1011 "base/const_init.h"
11- "base/dynamic_annotations.cc"
1212 "base/dynamic_annotations.h"
1313 "base/internal/atomic_hook.h"
14- "base/internal/bits.h"
1514 "base/internal/cycleclock.cc"
1615 "base/internal/cycleclock.h"
1716 "base/internal/direct_mmap.h"
1817 "base/internal/dynamic_annotations.h"
1918 "base/internal/endian.h"
2019 "base/internal/errno_saver.h"
21- "base/internal/exponential_biased.cc"
22- "base/internal/exponential_biased.h"
2320 "base/internal/fast_type_id.h"
2421 "base/internal/hide_ptr.h"
2522 "base/internal/identity.h"
@@ -29,8 +26,7 @@ set(ABSL_INTERNAL_DLL_FILES
2926 "base/internal/low_level_alloc.h"
3027 "base/internal/low_level_scheduling.h"
3128 "base/internal/per_thread_tls.h"
32- "base/internal/periodic_sampler.cc"
33- "base/internal/periodic_sampler.h"
29+ "base/internal/prefetch.h"
3430 "base/internal/pretty_function.h"
3531 "base/internal/raw_logging.cc"
3632 "base/internal/raw_logging.h"
@@ -62,6 +58,8 @@ set(ABSL_INTERNAL_DLL_FILES
6258 "base/policy_checks.h"
6359 "base/port.h"
6460 "base/thread_annotations.h"
61+ "cleanup/cleanup.h"
62+ "cleanup/internal/cleanup.h"
6563 "container/btree_map.h"
6664 "container/btree_set.h"
6765 "container/fixed_array.h"
@@ -81,10 +79,9 @@ set(ABSL_INTERNAL_DLL_FILES
8179 "container/internal/hashtablez_sampler.cc"
8280 "container/internal/hashtablez_sampler.h"
8381 "container/internal/hashtablez_sampler_force_weak_definition.cc"
84- "container/internal/have_sse.h"
8582 "container/internal/inlined_vector.h"
8683 "container/internal/layout.h"
87- "container/internal/node_hash_policy .h"
84+ "container/internal/node_slot_policy .h"
8885 "container/internal/raw_hash_map.h"
8986 "container/internal/raw_hash_set.cc"
9087 "container/internal/raw_hash_set.h"
@@ -94,7 +91,6 @@ set(ABSL_INTERNAL_DLL_FILES
9491 "debugging/failure_signal_handler.cc"
9592 "debugging/failure_signal_handler.h"
9693 "debugging/leak_check.h"
97- "debugging/leak_check_disable.cc"
9894 "debugging/stacktrace.cc"
9995 "debugging/stacktrace.h"
10096 "debugging/symbolize.cc"
@@ -113,20 +109,32 @@ set(ABSL_INTERNAL_DLL_FILES
113109 "debugging/internal/symbolize.h"
114110 "debugging/internal/vdso_support.cc"
115111 "debugging/internal/vdso_support.h"
112+ "functional/any_invocable.h"
116113 "functional/internal/front_binder.h"
117114 "functional/bind_front.h"
118115 "functional/function_ref.h"
116+ "functional/internal/any_invocable.h"
119117 "functional/internal/function_ref.h"
120118 "hash/hash.h"
121119 "hash/internal/city.h"
122120 "hash/internal/city.cc"
123121 "hash/internal/hash.h"
124122 "hash/internal/hash.cc"
125123 "hash/internal/spy_hash_state.h"
124+ "hash/internal/low_level_hash.h"
125+ "hash/internal/low_level_hash.cc"
126126 "memory/memory.h"
127127 "meta/type_traits.h"
128+ "numeric/bits.h"
128129 "numeric/int128.cc"
129130 "numeric/int128.h"
131+ "numeric/internal/bits.h"
132+ "numeric/internal/representation.h"
133+ "profiling/internal/exponential_biased.cc"
134+ "profiling/internal/exponential_biased.h"
135+ "profiling/internal/periodic_sampler.cc"
136+ "profiling/internal/periodic_sampler.h"
137+ "profiling/internal/sample_recorder.h"
130138 "random/bernoulli_distribution.h"
131139 "random/beta_distribution.h"
132140 "random/bit_gen_ref.h"
@@ -139,7 +147,6 @@ set(ABSL_INTERNAL_DLL_FILES
139147 "random/internal/distribution_caller.h"
140148 "random/internal/fastmath.h"
141149 "random/internal/fast_uniform_bits.h"
142- "random/internal/gaussian_distribution_gentables.cc"
143150 "random/internal/generate_real.h"
144151 "random/internal/iostream_state_saver.h"
145152 "random/internal/mock_helpers.h"
@@ -176,8 +183,12 @@ set(ABSL_INTERNAL_DLL_FILES
176183 "random/uniform_int_distribution.h"
177184 "random/uniform_real_distribution.h"
178185 "random/zipf_distribution.h"
186+ "status/internal/status_internal.h"
187+ "status/internal/statusor_internal.h"
179188 "status/status.h"
180189 "status/status.cc"
190+ "status/statusor.h"
191+ "status/statusor.cc"
181192 "status/status_payload_printer.h"
182193 "status/status_payload_printer.cc"
183194 "strings/ascii.cc"
@@ -186,14 +197,46 @@ set(ABSL_INTERNAL_DLL_FILES
186197 "strings/charconv.h"
187198 "strings/cord.cc"
188199 "strings/cord.h"
200+ "strings/cord_analysis.cc"
201+ "strings/cord_analysis.h"
202+ "strings/cord_buffer.cc"
203+ "strings/cord_buffer.h"
189204 "strings/escaping.cc"
190205 "strings/escaping.h"
191- "strings/internal/cord_internal.h"
192206 "strings/internal/charconv_bigint.cc"
193207 "strings/internal/charconv_bigint.h"
194208 "strings/internal/charconv_parse.cc"
195209 "strings/internal/charconv_parse.h"
210+ "strings/internal/cord_data_edge.h"
211+ "strings/internal/cord_internal.cc"
212+ "strings/internal/cord_internal.h"
213+ "strings/internal/cord_rep_btree.cc"
214+ "strings/internal/cord_rep_btree.h"
215+ "strings/internal/cord_rep_btree_navigator.cc"
216+ "strings/internal/cord_rep_btree_navigator.h"
217+ "strings/internal/cord_rep_btree_reader.cc"
218+ "strings/internal/cord_rep_btree_reader.h"
219+ "strings/internal/cord_rep_crc.cc"
220+ "strings/internal/cord_rep_crc.h"
221+ "strings/internal/cord_rep_consume.h"
222+ "strings/internal/cord_rep_consume.cc"
223+ "strings/internal/cord_rep_flat.h"
224+ "strings/internal/cord_rep_ring.cc"
225+ "strings/internal/cord_rep_ring.h"
226+ "strings/internal/cord_rep_ring_reader.h"
227+ "strings/internal/cordz_functions.cc"
228+ "strings/internal/cordz_functions.h"
229+ "strings/internal/cordz_handle.cc"
230+ "strings/internal/cordz_handle.h"
231+ "strings/internal/cordz_info.cc"
232+ "strings/internal/cordz_info.h"
233+ "strings/internal/cordz_sample_token.cc"
234+ "strings/internal/cordz_sample_token.h"
235+ "strings/internal/cordz_statistics.h"
236+ "strings/internal/cordz_update_scope.h"
237+ "strings/internal/cordz_update_tracker.h"
196238 "strings/internal/stl_type_traits.h"
239+ "strings/internal/string_constant.h"
197240 "strings/match.cc"
198241 "strings/match.h"
199242 "strings/numbers.cc"
@@ -248,6 +291,7 @@ set(ABSL_INTERNAL_DLL_FILES
248291 "synchronization/notification.h"
249292 "synchronization/internal/create_thread_identity.cc"
250293 "synchronization/internal/create_thread_identity.h"
294+ "synchronization/internal/futex.h"
251295 "synchronization/internal/graphcycles.cc"
252296 "synchronization/internal/graphcycles.h"
253297 "synchronization/internal/kernel_timeout.h"
@@ -305,6 +349,7 @@ set(ABSL_INTERNAL_DLL_FILES
305349 "types/internal/span.h"
306350 "types/variant.h"
307351 "utility/utility.h"
352+ "debugging/leak_check.cc"
308353)
309354
310355set (ABSL_INTERNAL_DLL_TARGETS
@@ -315,7 +360,6 @@ set(ABSL_INTERNAL_DLL_TARGETS
315360 "debugging_internal"
316361 "demangle_internal"
317362 "leak_check"
318- "leak_check_disable"
319363 "stack_consumption"
320364 "debugging"
321365 "hash"
@@ -346,6 +390,7 @@ set(ABSL_INTERNAL_DLL_TARGETS
346390 "kernel_timeout_internal"
347391 "synchronization"
348392 "thread_pool"
393+ "any_invocable"
349394 "bind_front"
350395 "function_ref"
351396 "atomic_hook"
@@ -415,13 +460,13 @@ set(ABSL_INTERNAL_DLL_TARGETS
415460 "hashtablez_sampler"
416461 "hashtable_debug"
417462 "hashtable_debug_hooks"
418- "have_sse"
419- "node_hash_policy"
463+ "node_slot_policy"
420464 "raw_hash_map"
421465 "container_common"
422466 "raw_hash_set"
423467 "layout"
424468 "tracked"
469+ "sample_recorder"
425470)
426471
427472function (absl_internal_dll_contains)
@@ -485,7 +530,7 @@ function(absl_make_dll)
485530 abseil_dll
486531 PUBLIC
487532 "$<BUILD_INTERFACE:${ABSL_COMMON_INCLUDE_DIRS} >"
488- $<INSTALL_INTERFACE:${ABSL_INSTALL_INCLUDEDIR } >
533+ $<INSTALL_INTERFACE:${CMAKE_INSTALL_INCLUDEDIR } >
489534 )
490535
491536 target_compile_options (
@@ -503,8 +548,8 @@ function(absl_make_dll)
503548 ${ABSL_CC_LIB_DEFINES}
504549 )
505550 install (TARGETS abseil_dll EXPORT ${PROJECT_NAME} Targets
506- RUNTIME DESTINATION ${ABSL_INSTALL_BINDIR }
507- LIBRARY DESTINATION ${ABSL_INSTALL_LIBDIR }
508- ARCHIVE DESTINATION ${ABSL_INSTALL_LIBDIR }
551+ RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR }
552+ LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR }
553+ ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR }
509554 )
510555endfunction ()
0 commit comments