aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/libs/re2/CMakeLists.txt
blob: c00389031f71453fac7525696a2e15ebc43bd936 (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
add_library(contrib-libs-re2)
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/include
  ${CMAKE_SOURCE_DIR}/contrib/libs/re2
)
target_link_libraries(contrib-libs-re2 PUBLIC
  contrib-libs-cxxsupp
  yutil
)
target_sources(contrib-libs-re2 PRIVATE
  ${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/stringpiece.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
)