blob: 5471f039a0f3d8df11b1a1d36af3ae42bd19da69 (
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
|
# 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_shared_library(structs_udf.dyn)
set_property(TARGET structs_udf.dyn PROPERTY
OUTPUT_NAME structs_udf
)
target_compile_options(structs_udf.dyn PRIVATE
-DBUILD_UDF
-DUDF_ABI_VERSION_MAJOR=2
-DUDF_ABI_VERSION_MINOR=9
-DUDF_ABI_VERSION_PATCH=0
)
target_link_libraries(structs_udf.dyn PUBLIC
contrib-libs-linux-headers
contrib-libs-cxxsupp
yutil
yql-public-udf
public-udf-support
)
target_link_options(structs_udf.dyn PRIVATE
-ldl
-lrt
-Wl,--no-as-needed
-fPIC
-Wl,-z,notext
-Wl,-Bsymbolic
-fPIC
-lpthread
-lrt
-ldl
)
target_sources(structs_udf.dyn PRIVATE
${CMAKE_SOURCE_DIR}/ydb/library/yql/udfs/examples/structs/structs_udf.cpp
)
use_export_script(structs_udf.dyn
${CMAKE_SOURCE_DIR}/ydb/library/yql/public/udf/udfs_exports.exports
)
vcs_info(structs_udf.dyn)
add_library(structs_udf INTERFACE)
target_link_libraries(structs_udf INTERFACE
contrib-libs-linux-headers
contrib-libs-cxxsupp
yutil
yql-public-udf
public-udf-support
)
add_global_library_for(structs_udf.global structs_udf)
target_compile_options(structs_udf.global PRIVATE
-DUDF_ABI_VERSION_MAJOR=2
-DUDF_ABI_VERSION_MINOR=9
-DUDF_ABI_VERSION_PATCH=0
)
target_link_libraries(structs_udf.global PUBLIC
contrib-libs-linux-headers
contrib-libs-cxxsupp
yutil
yql-public-udf
public-udf-support
)
target_sources(structs_udf.global PRIVATE
${CMAKE_SOURCE_DIR}/ydb/library/yql/udfs/examples/structs/structs_udf.cpp
)
|