Own CMake for Abseil

This commit is contained in:
Alexey Milovidov 2023-11-17 11:32:27 +01:00
parent c65607484e
commit 4f441ec131
3 changed files with 3436 additions and 30 deletions

File diff suppressed because it is too large Load Diff

View File

@ -27,6 +27,17 @@ set(RE2_SOURCES
add_library(_re2 ${RE2_SOURCES})
target_include_directories(_re2 PUBLIC "${SRC_DIR}")
target_link_libraries(_re2 ch_contrib::abseil_str_format)
target_link_libraries(_re2 PRIVATE
absl::base
absl::core_headers
absl::fixed_array
absl::flat_hash_map
absl::flat_hash_set
absl::inlined_vector
absl::strings
absl::str_format
absl::synchronization
absl::optional
absl::span)
add_library(ch_contrib::re2 ALIAS _re2)

View File

@ -38,7 +38,7 @@ rm -f CMakeCache.txt
# To check it, find and delete them.
grep -o -P '"contrib/[^"]+"' ../.gitmodules |
grep -v -P 'llvm-project|abseil-cpp|grpc|corrosion' |
grep -v -P 'llvm-project|grpc|corrosion' |
xargs -I@ find ../@ -'(' -name 'CMakeLists.txt' -or -name '*.cmake' -')' -and -not -name '*.h.cmake' |
xargs rm