blob: c33e1b1985d3263ce1845c8340fcc5136b104278 (
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
|
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
)
target_include_directories(contrib-libs-pcre PRIVATE
${CMAKE_SOURCE_DIR}/contrib/libs/pcre
)
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
)
|