aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/regex/pire/CMakeLists.txt
blob: 2f9b8ee517ba269701df2022e4accf8f4ca9ede3 (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
# This file was gererated 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(cpp-regex-pire)
target_compile_options(cpp-regex-pire PRIVATE
  -DPIRE_NO_CONFIG
)
target_include_directories(cpp-regex-pire PUBLIC
  ${CMAKE_BINARY_DIR}/library/cpp/regex/pire/__/__/__/__/contrib/libs/pire/pire
)
target_link_libraries(cpp-regex-pire PUBLIC
  contrib-libs-cxxsupp
  yutil
  library-cpp-charset
)
target_sources(cpp-regex-pire PRIVATE
  ${CMAKE_SOURCE_DIR}/library/cpp/regex/pire/pcre2pire.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/pire/pire/classes.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/pire/pire/encoding.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/pire/pire/fsm.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/pire/pire/scanner_io.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/pire/pire/easy.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/pire/pire/scanners/null.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/pire/pire/extra/capture.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/pire/pire/extra/count.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/pire/pire/extra/glyphs.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/pire/pire/re_lexer.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/pire/pire/read_unicode.cpp
  ${CMAKE_SOURCE_DIR}/library/cpp/regex/pire/extraencodings.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/pire/pire/approx_matching.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/pire/pire/half_final_fsm.cpp
)
target_bison_parser(cpp-regex-pire
  PRIVATE
  ${CMAKE_SOURCE_DIR}/contrib/libs/pire/pire/re_parser.y
)