aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/libs/pcre/CMakeLists.linux-aarch64.txt
blob: 1958da410bc06e813f6e1454ec930b35a1bfa06e (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
# 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_subdirectory(pcre16)
add_subdirectory(pcre32)

add_library(contrib-libs-pcre)
target_compile_options(contrib-libs-pcre PUBLIC
  -DPCRE_STATIC
)
target_compile_options(contrib-libs-pcre PRIVATE
  -DHAVE_CONFIG_H
  -DARCADIA_PCRE_ENABLE_JIT
  -Wno-everything
)
target_include_directories(contrib-libs-pcre PRIVATE
  ${CMAKE_SOURCE_DIR}/contrib/libs/pcre
)
target_link_libraries(contrib-libs-pcre PUBLIC
  contrib-libs-linux-headers
)
target_sources(contrib-libs-pcre PRIVATE
  ${CMAKE_SOURCE_DIR}/contrib/libs/pcre/pcre_byte_order.c
  ${CMAKE_SOURCE_DIR}/contrib/libs/pcre/pcre_chartables.c
  ${CMAKE_SOURCE_DIR}/contrib/libs/pcre/pcre_compile.c
  ${CMAKE_SOURCE_DIR}/contrib/libs/pcre/pcre_config.c
  ${CMAKE_SOURCE_DIR}/contrib/libs/pcre/pcre_dfa_exec.c
  ${CMAKE_SOURCE_DIR}/contrib/libs/pcre/pcre_exec.c
  ${CMAKE_SOURCE_DIR}/contrib/libs/pcre/pcre_fullinfo.c
  ${CMAKE_SOURCE_DIR}/contrib/libs/pcre/pcre_get.c
  ${CMAKE_SOURCE_DIR}/contrib/libs/pcre/pcre_globals.c
  ${CMAKE_SOURCE_DIR}/contrib/libs/pcre/pcre_jit_compile.c
  ${CMAKE_SOURCE_DIR}/contrib/libs/pcre/pcre_maketables.c
  ${CMAKE_SOURCE_DIR}/contrib/libs/pcre/pcre_newline.c
  ${CMAKE_SOURCE_DIR}/contrib/libs/pcre/pcre_ord2utf8.c
  ${CMAKE_SOURCE_DIR}/contrib/libs/pcre/pcre_refcount.c
  ${CMAKE_SOURCE_DIR}/contrib/libs/pcre/pcre_string_utils.c
  ${CMAKE_SOURCE_DIR}/contrib/libs/pcre/pcre_study.c
  ${CMAKE_SOURCE_DIR}/contrib/libs/pcre/pcre_tables.c
  ${CMAKE_SOURCE_DIR}/contrib/libs/pcre/pcre_ucd.c
  ${CMAKE_SOURCE_DIR}/contrib/libs/pcre/pcre_valid_utf8.c
  ${CMAKE_SOURCE_DIR}/contrib/libs/pcre/pcre_version.c
  ${CMAKE_SOURCE_DIR}/contrib/libs/pcre/pcre_xclass.c
  ${CMAKE_SOURCE_DIR}/contrib/libs/pcre/pcreposix.c
)