diff options
author | alexv-smirnov <alex@ydb.tech> | 2023-07-24 15:26:23 +0300 |
---|---|---|
committer | alexv-smirnov <alex@ydb.tech> | 2023-07-24 15:26:23 +0300 |
commit | 477d878e00267a8534b445571b1b2e73ea1435b8 (patch) | |
tree | cf2d8cd82c8f19189117aaa82237289065372881 | |
parent | f7926c074c843116027a02108090073ae9da261e (diff) | |
download | ydb-477d878e00267a8534b445571b1b2e73ea1435b8.tar.gz |
Clone YQL_UDF macro to reference contrib/ydb
-rw-r--r-- | build/conf/project_specific/yql_udf.conf | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/build/conf/project_specific/yql_udf.conf b/build/conf/project_specific/yql_udf.conf index 91ca0a3362..229161aba9 100644 --- a/build/conf/project_specific/yql_udf.conf +++ b/build/conf/project_specific/yql_udf.conf @@ -53,6 +53,10 @@ macro _ADD_YQL_UDF_DEPS() { PEERDIR(ydb/library/yql/public/udf) PEERDIR(ydb/library/yql/public/udf/support) } +macro _ADD_YQL_UDF_DEPS_CONTRIB() { + PEERDIR(contrib/ydb/library/yql/public/udf) + PEERDIR(contrib/ydb/library/yql/public/udf/support) +} ### @usage: _MAKE_YQL_UDF() ### @@ -116,6 +120,24 @@ multimodule YQL_UDF { } } } +multimodule YQL_UDF_CONTRIB { + module YQL_UDF_SHARED: YQL_UDF_MODULE { + .SEM=UDF_SHARED_SEM + NO_CLANG_TIDY() + } + module YQL_UDF_STATIC: _DLL_COMPATIBLE_LIBRARY { + .ALIASES=SRCS=GLOBAL_SRCS + .SEM=CPP_LIBRARY_SEM + .GLOBAL_SEM=CPP_OBJ_LIBRARY_SEM + OBJ_SUF=.udfs + _ADD_YQL_UDF_DEPS_CONTRIB() + # disable credits generation for static library + SET(CREDITS_FLAGS) + when ($MSVC == "yes" || $CYGWIN == "yes") { + MODULE_SUFFIX=.static.lib + } + } +} ### @usage: YQL_ABI_VERSION(major minor release)) ### |