blob: dbc7d78329fc9ff10d70da681d9dd3bf4813e0ee (
plain) (
blame)
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
|
# This file was generated by the build system used internally in the Yandex monorepo.
# Only simple modifications are allowed (adding source-files to targets, adding simple properties
# like target_include_directories). These modifications will be ported to original
# ya.make files by maintainers. Any complex modifications which can't be ported back to the
# original buildsystem will not be accepted.
add_library(contrib-libs-re2)
target_compile_options(contrib-libs-re2 PRIVATE
$<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(contrib-libs-re2 PUBLIC
${CMAKE_SOURCE_DIR}/contrib/libs/re2/include
)
target_include_directories(contrib-libs-re2 PRIVATE
${CMAKE_SOURCE_DIR}/contrib/libs/re2
)
target_link_libraries(contrib-libs-re2 PUBLIC
contrib-libs-linux-headers
contrib-libs-cxxsupp
yutil
abseil-cpp-absl-base
abseil-cpp-absl-container
abseil-cpp-absl-hash
abseil-cpp-absl-strings
abseil-cpp-absl-synchronization
cpp-sanitizer-include
)
target_sources(contrib-libs-re2 PRIVATE
${CMAKE_SOURCE_DIR}/contrib/libs/re2/re2/bitmap256.cc
${CMAKE_SOURCE_DIR}/contrib/libs/re2/re2/bitstate.cc
${CMAKE_SOURCE_DIR}/contrib/libs/re2/re2/compile.cc
${CMAKE_SOURCE_DIR}/contrib/libs/re2/re2/dfa.cc
${CMAKE_SOURCE_DIR}/contrib/libs/re2/re2/filtered_re2.cc
${CMAKE_SOURCE_DIR}/contrib/libs/re2/re2/mimics_pcre.cc
${CMAKE_SOURCE_DIR}/contrib/libs/re2/re2/nfa.cc
${CMAKE_SOURCE_DIR}/contrib/libs/re2/re2/onepass.cc
${CMAKE_SOURCE_DIR}/contrib/libs/re2/re2/parse.cc
${CMAKE_SOURCE_DIR}/contrib/libs/re2/re2/perl_groups.cc
${CMAKE_SOURCE_DIR}/contrib/libs/re2/re2/prefilter.cc
${CMAKE_SOURCE_DIR}/contrib/libs/re2/re2/prefilter_tree.cc
${CMAKE_SOURCE_DIR}/contrib/libs/re2/re2/prog.cc
${CMAKE_SOURCE_DIR}/contrib/libs/re2/re2/re2.cc
${CMAKE_SOURCE_DIR}/contrib/libs/re2/re2/regexp.cc
${CMAKE_SOURCE_DIR}/contrib/libs/re2/re2/set.cc
${CMAKE_SOURCE_DIR}/contrib/libs/re2/re2/simplify.cc
${CMAKE_SOURCE_DIR}/contrib/libs/re2/re2/tostring.cc
${CMAKE_SOURCE_DIR}/contrib/libs/re2/re2/unicode_casefold.cc
${CMAKE_SOURCE_DIR}/contrib/libs/re2/re2/unicode_groups.cc
${CMAKE_SOURCE_DIR}/contrib/libs/re2/util/rune.cc
${CMAKE_SOURCE_DIR}/contrib/libs/re2/util/strutil.cc
)
|