1
1
include (CMakeParseArguments)
2
+ include (GNUInstallDirs)
2
3
3
4
set (ABSL_INTERNAL_DLL_FILES
4
5
"algorithm/algorithm.h"
@@ -8,18 +9,14 @@ set(ABSL_INTERNAL_DLL_FILES
8
9
"base/casts.h"
9
10
"base/config.h"
10
11
"base/const_init.h"
11
- "base/dynamic_annotations.cc"
12
12
"base/dynamic_annotations.h"
13
13
"base/internal/atomic_hook.h"
14
- "base/internal/bits.h"
15
14
"base/internal/cycleclock.cc"
16
15
"base/internal/cycleclock.h"
17
16
"base/internal/direct_mmap.h"
18
17
"base/internal/dynamic_annotations.h"
19
18
"base/internal/endian.h"
20
19
"base/internal/errno_saver.h"
21
- "base/internal/exponential_biased.cc"
22
- "base/internal/exponential_biased.h"
23
20
"base/internal/fast_type_id.h"
24
21
"base/internal/hide_ptr.h"
25
22
"base/internal/identity.h"
@@ -29,8 +26,7 @@ set(ABSL_INTERNAL_DLL_FILES
29
26
"base/internal/low_level_alloc.h"
30
27
"base/internal/low_level_scheduling.h"
31
28
"base/internal/per_thread_tls.h"
32
- "base/internal/periodic_sampler.cc"
33
- "base/internal/periodic_sampler.h"
29
+ "base/internal/prefetch.h"
34
30
"base/internal/pretty_function.h"
35
31
"base/internal/raw_logging.cc"
36
32
"base/internal/raw_logging.h"
@@ -62,6 +58,8 @@ set(ABSL_INTERNAL_DLL_FILES
62
58
"base/policy_checks.h"
63
59
"base/port.h"
64
60
"base/thread_annotations.h"
61
+ "cleanup/cleanup.h"
62
+ "cleanup/internal/cleanup.h"
65
63
"container/btree_map.h"
66
64
"container/btree_set.h"
67
65
"container/fixed_array.h"
@@ -81,10 +79,9 @@ set(ABSL_INTERNAL_DLL_FILES
81
79
"container/internal/hashtablez_sampler.cc"
82
80
"container/internal/hashtablez_sampler.h"
83
81
"container/internal/hashtablez_sampler_force_weak_definition.cc"
84
- "container/internal/have_sse.h"
85
82
"container/internal/inlined_vector.h"
86
83
"container/internal/layout.h"
87
- "container/internal/node_hash_policy .h"
84
+ "container/internal/node_slot_policy .h"
88
85
"container/internal/raw_hash_map.h"
89
86
"container/internal/raw_hash_set.cc"
90
87
"container/internal/raw_hash_set.h"
@@ -94,7 +91,6 @@ set(ABSL_INTERNAL_DLL_FILES
94
91
"debugging/failure_signal_handler.cc"
95
92
"debugging/failure_signal_handler.h"
96
93
"debugging/leak_check.h"
97
- "debugging/leak_check_disable.cc"
98
94
"debugging/stacktrace.cc"
99
95
"debugging/stacktrace.h"
100
96
"debugging/symbolize.cc"
@@ -113,20 +109,32 @@ set(ABSL_INTERNAL_DLL_FILES
113
109
"debugging/internal/symbolize.h"
114
110
"debugging/internal/vdso_support.cc"
115
111
"debugging/internal/vdso_support.h"
112
+ "functional/any_invocable.h"
116
113
"functional/internal/front_binder.h"
117
114
"functional/bind_front.h"
118
115
"functional/function_ref.h"
116
+ "functional/internal/any_invocable.h"
119
117
"functional/internal/function_ref.h"
120
118
"hash/hash.h"
121
119
"hash/internal/city.h"
122
120
"hash/internal/city.cc"
123
121
"hash/internal/hash.h"
124
122
"hash/internal/hash.cc"
125
123
"hash/internal/spy_hash_state.h"
124
+ "hash/internal/low_level_hash.h"
125
+ "hash/internal/low_level_hash.cc"
126
126
"memory/memory.h"
127
127
"meta/type_traits.h"
128
+ "numeric/bits.h"
128
129
"numeric/int128.cc"
129
130
"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"
130
138
"random/bernoulli_distribution.h"
131
139
"random/beta_distribution.h"
132
140
"random/bit_gen_ref.h"
@@ -139,7 +147,6 @@ set(ABSL_INTERNAL_DLL_FILES
139
147
"random/internal/distribution_caller.h"
140
148
"random/internal/fastmath.h"
141
149
"random/internal/fast_uniform_bits.h"
142
- "random/internal/gaussian_distribution_gentables.cc"
143
150
"random/internal/generate_real.h"
144
151
"random/internal/iostream_state_saver.h"
145
152
"random/internal/mock_helpers.h"
@@ -176,8 +183,12 @@ set(ABSL_INTERNAL_DLL_FILES
176
183
"random/uniform_int_distribution.h"
177
184
"random/uniform_real_distribution.h"
178
185
"random/zipf_distribution.h"
186
+ "status/internal/status_internal.h"
187
+ "status/internal/statusor_internal.h"
179
188
"status/status.h"
180
189
"status/status.cc"
190
+ "status/statusor.h"
191
+ "status/statusor.cc"
181
192
"status/status_payload_printer.h"
182
193
"status/status_payload_printer.cc"
183
194
"strings/ascii.cc"
@@ -186,14 +197,46 @@ set(ABSL_INTERNAL_DLL_FILES
186
197
"strings/charconv.h"
187
198
"strings/cord.cc"
188
199
"strings/cord.h"
200
+ "strings/cord_analysis.cc"
201
+ "strings/cord_analysis.h"
202
+ "strings/cord_buffer.cc"
203
+ "strings/cord_buffer.h"
189
204
"strings/escaping.cc"
190
205
"strings/escaping.h"
191
- "strings/internal/cord_internal.h"
192
206
"strings/internal/charconv_bigint.cc"
193
207
"strings/internal/charconv_bigint.h"
194
208
"strings/internal/charconv_parse.cc"
195
209
"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"
196
238
"strings/internal/stl_type_traits.h"
239
+ "strings/internal/string_constant.h"
197
240
"strings/match.cc"
198
241
"strings/match.h"
199
242
"strings/numbers.cc"
@@ -248,6 +291,7 @@ set(ABSL_INTERNAL_DLL_FILES
248
291
"synchronization/notification.h"
249
292
"synchronization/internal/create_thread_identity.cc"
250
293
"synchronization/internal/create_thread_identity.h"
294
+ "synchronization/internal/futex.h"
251
295
"synchronization/internal/graphcycles.cc"
252
296
"synchronization/internal/graphcycles.h"
253
297
"synchronization/internal/kernel_timeout.h"
@@ -305,6 +349,7 @@ set(ABSL_INTERNAL_DLL_FILES
305
349
"types/internal/span.h"
306
350
"types/variant.h"
307
351
"utility/utility.h"
352
+ "debugging/leak_check.cc"
308
353
)
309
354
310
355
set (ABSL_INTERNAL_DLL_TARGETS
@@ -315,7 +360,6 @@ set(ABSL_INTERNAL_DLL_TARGETS
315
360
"debugging_internal"
316
361
"demangle_internal"
317
362
"leak_check"
318
- "leak_check_disable"
319
363
"stack_consumption"
320
364
"debugging"
321
365
"hash"
@@ -346,6 +390,7 @@ set(ABSL_INTERNAL_DLL_TARGETS
346
390
"kernel_timeout_internal"
347
391
"synchronization"
348
392
"thread_pool"
393
+ "any_invocable"
349
394
"bind_front"
350
395
"function_ref"
351
396
"atomic_hook"
@@ -415,13 +460,13 @@ set(ABSL_INTERNAL_DLL_TARGETS
415
460
"hashtablez_sampler"
416
461
"hashtable_debug"
417
462
"hashtable_debug_hooks"
418
- "have_sse"
419
- "node_hash_policy"
463
+ "node_slot_policy"
420
464
"raw_hash_map"
421
465
"container_common"
422
466
"raw_hash_set"
423
467
"layout"
424
468
"tracked"
469
+ "sample_recorder"
425
470
)
426
471
427
472
function (absl_internal_dll_contains)
@@ -485,7 +530,7 @@ function(absl_make_dll)
485
530
abseil_dll
486
531
PUBLIC
487
532
"$<BUILD_INTERFACE:${ABSL_COMMON_INCLUDE_DIRS} >"
488
- $<INSTALL_INTERFACE:${ABSL_INSTALL_INCLUDEDIR } >
533
+ $<INSTALL_INTERFACE:${CMAKE_INSTALL_INCLUDEDIR } >
489
534
)
490
535
491
536
target_compile_options (
@@ -503,8 +548,8 @@ function(absl_make_dll)
503
548
${ABSL_CC_LIB_DEFINES}
504
549
)
505
550
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 }
509
554
)
510
555
endfunction ()
0 commit comments