aboutsummaryrefslogtreecommitdiffstats
path: root/ydb/library/yql/udfs/common/pire/CMakeLists.linux-aarch64.txt
blob: 0e418dabd089a62d837ea10724215a5cacd92a91 (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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
# 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(pire_udf INTERFACE)
target_link_libraries(pire_udf INTERFACE
  contrib-libs-linux-headers
  contrib-libs-cxxsupp
  yutil
  yql-public-udf
  public-udf-support
  cpp-regex-pire
)

add_global_library_for(pire_udf.global pire_udf)
target_compile_options(pire_udf.global PRIVATE
  -DUDF_ABI_VERSION_MAJOR=2
  -DUDF_ABI_VERSION_MINOR=27
  -DUDF_ABI_VERSION_PATCH=0
)
target_link_libraries(pire_udf.global PUBLIC
  contrib-libs-linux-headers
  contrib-libs-cxxsupp
  yutil
  yql-public-udf
  public-udf-support
  cpp-regex-pire
)
target_sources(pire_udf.global PRIVATE
  ${CMAKE_SOURCE_DIR}/ydb/library/yql/udfs/common/pire/pire_udf.cpp
)

add_shared_library(pire_udf.dyn)
set_property(TARGET pire_udf.dyn PROPERTY
  OUTPUT_NAME pire_udf
)
target_compile_options(pire_udf.dyn PRIVATE
  -DBUILD_UDF
  -DUDF_ABI_VERSION_MAJOR=2
  -DUDF_ABI_VERSION_MINOR=27
  -DUDF_ABI_VERSION_PATCH=0
)
target_link_libraries(pire_udf.dyn PUBLIC
  contrib-libs-linux-headers
  contrib-libs-cxxsupp
  yutil
  yql-public-udf
  public-udf-support
  cpp-regex-pire
)
target_link_options(pire_udf.dyn PRIVATE
  -ldl
  -lrt
  -Wl,--no-as-needed
  -fPIC
  -Wl,-z,notext
  -Wl,-Bsymbolic
  -fPIC
  -lpthread
  -lrt
  -ldl
)
target_sources(pire_udf.dyn PRIVATE
  ${CMAKE_SOURCE_DIR}/ydb/library/yql/udfs/common/pire/pire_udf.cpp
)
use_export_script(pire_udf.dyn
  ${CMAKE_SOURCE_DIR}/ydb/library/yql/public/udf/udfs_exports.exports
)
vcs_info(pire_udf.dyn)