-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmeson.build
182 lines (176 loc) · 6.65 KB
/
meson.build
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
project('abseil', 'cpp')
compiler = meson.get_compiler('cpp')
link_deps = []
incdirs = ['.']
cpp_flags = ['-Wno-non-virtual-dtor']
sources = [
'absl/base/internal/cycleclock.cc',
'absl/base/internal/low_level_alloc.cc',
'absl/base/internal/poison.cc',
'absl/base/internal/raw_logging.cc',
'absl/base/internal/scoped_set_env.cc',
'absl/base/internal/spinlock.cc',
'absl/base/internal/spinlock_wait.cc',
'absl/base/internal/strerror.cc',
'absl/base/internal/sysinfo.cc',
'absl/base/internal/thread_identity.cc',
'absl/base/internal/throw_delegate.cc',
'absl/base/internal/tracing.cc',
'absl/base/internal/unscaledcycleclock.cc',
'absl/base/log_severity.cc',
'absl/container/internal/hashtablez_sampler.cc',
'absl/container/internal/hashtablez_sampler_force_weak_definition.cc',
'absl/container/internal/raw_hash_set.cc',
'absl/crc/crc32c.cc',
'absl/crc/internal/cpu_detect.cc',
'absl/crc/internal/crc.cc',
'absl/crc/internal/crc_cord_state.cc',
'absl/crc/internal/crc_memcpy_fallback.cc',
'absl/crc/internal/crc_memcpy_x86_arm_combined.cc',
'absl/crc/internal/crc_non_temporal_memcpy.cc',
'absl/crc/internal/crc_x86_arm_combined.cc',
'absl/debugging/failure_signal_handler.cc',
'absl/debugging/internal/address_is_readable.cc',
'absl/debugging/internal/decode_rust_punycode.cc',
'absl/debugging/internal/demangle.cc',
'absl/debugging/internal/demangle_rust.cc',
'absl/debugging/internal/elf_mem_image.cc',
'absl/debugging/internal/examine_stack.cc',
'absl/debugging/internal/stack_consumption.cc',
'absl/debugging/internal/utf8_for_code_point.cc',
'absl/debugging/internal/vdso_support.cc',
'absl/debugging/leak_check.cc',
'absl/debugging/stacktrace.cc',
'absl/debugging/symbolize.cc',
'absl/flags/commandlineflag.cc',
'absl/flags/internal/commandlineflag.cc',
'absl/flags/internal/flag.cc',
'absl/flags/internal/private_handle_accessor.cc',
'absl/flags/internal/program_name.cc',
'absl/flags/internal/usage.cc',
'absl/flags/marshalling.cc',
'absl/flags/parse.cc',
'absl/flags/reflection.cc',
'absl/flags/usage.cc',
'absl/flags/usage_config.cc',
'absl/hash/internal/city.cc',
'absl/hash/internal/hash.cc',
'absl/hash/internal/low_level_hash.cc',
'absl/log/die_if_null.cc',
'absl/log/flags.cc',
'absl/log/globals.cc',
'absl/log/initialize.cc',
'absl/log/internal/check_op.cc',
'absl/log/internal/conditions.cc',
'absl/log/internal/fnmatch.cc',
'absl/log/internal/globals.cc',
'absl/log/internal/log_format.cc',
'absl/log/internal/log_message.cc',
'absl/log/internal/log_sink_set.cc',
'absl/log/internal/nullguard.cc',
'absl/log/internal/proto.cc',
'absl/log/internal/structured_proto.cc',
'absl/log/internal/vlog_config.cc',
'absl/log/log_sink.cc',
'absl/numeric/int128.cc',
'absl/profiling/internal/exponential_biased.cc',
'absl/profiling/internal/periodic_sampler.cc',
'absl/random/discrete_distribution.cc',
'absl/random/gaussian_distribution.cc',
'absl/random/internal/chi_square.cc',
'absl/random/internal/pool_urbg.cc',
'absl/random/internal/randen.cc',
'absl/random/internal/randen_detect.cc',
'absl/random/internal/randen_hwaes.cc',
'absl/random/internal/randen_round_keys.cc',
'absl/random/internal/randen_slow.cc',
'absl/random/internal/seed_material.cc',
'absl/random/seed_gen_exception.cc',
'absl/random/seed_sequences.cc',
'absl/status/internal/status_internal.cc',
'absl/status/status.cc',
'absl/status/status_payload_printer.cc',
'absl/status/statusor.cc',
'absl/strings/ascii.cc',
'absl/strings/charconv.cc',
'absl/strings/cord.cc',
'absl/strings/cord_analysis.cc',
'absl/strings/escaping.cc',
'absl/strings/internal/charconv_bigint.cc',
'absl/strings/internal/charconv_parse.cc',
'absl/strings/internal/cord_internal.cc',
'absl/strings/internal/cord_rep_btree.cc',
'absl/strings/internal/cord_rep_btree_navigator.cc',
'absl/strings/internal/cord_rep_btree_reader.cc',
'absl/strings/internal/cord_rep_consume.cc',
'absl/strings/internal/cord_rep_crc.cc',
'absl/strings/internal/cordz_functions.cc',
'absl/strings/internal/cordz_handle.cc',
'absl/strings/internal/cordz_info.cc',
'absl/strings/internal/cordz_sample_token.cc',
'absl/strings/internal/damerau_levenshtein_distance.cc',
'absl/strings/internal/escaping.cc',
'absl/strings/internal/memutil.cc',
'absl/strings/internal/ostringstream.cc',
'absl/strings/internal/pow10_helper.cc',
'absl/strings/internal/str_format/arg.cc',
'absl/strings/internal/str_format/bind.cc',
'absl/strings/internal/str_format/extension.cc',
'absl/strings/internal/str_format/float_conversion.cc',
'absl/strings/internal/str_format/output.cc',
'absl/strings/internal/str_format/parser.cc',
'absl/strings/internal/stringify_sink.cc',
'absl/strings/internal/utf8.cc',
'absl/strings/match.cc',
'absl/strings/numbers.cc',
'absl/strings/str_cat.cc',
'absl/strings/str_replace.cc',
'absl/strings/str_split.cc',
'absl/strings/string_view.cc',
'absl/strings/substitute.cc',
'absl/synchronization/barrier.cc',
'absl/synchronization/blocking_counter.cc',
'absl/synchronization/internal/create_thread_identity.cc',
'absl/synchronization/internal/futex_waiter.cc',
'absl/synchronization/internal/graphcycles.cc',
'absl/synchronization/internal/kernel_timeout.cc',
'absl/synchronization/internal/per_thread_sem.cc',
'absl/synchronization/internal/pthread_waiter.cc',
'absl/synchronization/internal/sem_waiter.cc',
'absl/synchronization/internal/stdcpp_waiter.cc',
'absl/synchronization/internal/waiter_base.cc',
'absl/synchronization/internal/win32_waiter.cc',
'absl/synchronization/mutex.cc',
'absl/synchronization/notification.cc',
'absl/time/civil_time.cc',
'absl/time/clock.cc',
'absl/time/duration.cc',
'absl/time/format.cc',
'absl/time/internal/cctz/src/civil_time_detail.cc',
'absl/time/internal/cctz/src/time_zone_fixed.cc',
'absl/time/internal/cctz/src/time_zone_format.cc',
'absl/time/internal/cctz/src/time_zone_if.cc',
'absl/time/internal/cctz/src/time_zone_impl.cc',
'absl/time/internal/cctz/src/time_zone_info.cc',
'absl/time/internal/cctz/src/time_zone_libc.cc',
'absl/time/internal/cctz/src/time_zone_lookup.cc',
'absl/time/internal/cctz/src/time_zone_posix.cc',
'absl/time/internal/cctz/src/zone_info_source.cc',
'absl/time/time.cc',
]
incdirs = include_directories(incdirs)
abseil = static_library(
'absl',
sources,
cpp_args: cpp_flags,
include_directories: incdirs,
dependencies: link_deps,
)
abseil_dep = declare_dependency(
include_directories: incdirs,
dependencies: link_deps,
link_with: abseil,
version: meson.project_version()
)
meson.override_dependency('abseil', abseil_dep)
# vim: set ts=4 sts=4 sw=4 et: