diff options
author | svidyuk <svidyuk@yandex-team.ru> | 2022-02-14 13:05:37 +0300 |
---|---|---|
committer | svidyuk <svidyuk@yandex-team.ru> | 2022-02-14 13:05:37 +0300 |
commit | c493463b4ba40d6f21effad2b5405bc1804b02f3 (patch) | |
tree | 65abe126fad23867c23eea52822020743ba43506 /util/charset/ut | |
parent | 45fd996f054b866273c44f7dc345703befda4c84 (diff) | |
download | ydb-c493463b4ba40d6f21effad2b5405bc1804b02f3.tar.gz |
PYTHON and PYTHON3 in cmake export
Generates the following `ydb/library/yql/dq/expr_nodes/CMakeLists.txt`:
```
find_package(Python3)
add_library(yql-dq-expr_nodes INTERFACE)
target_link_libraries(yql-dq-expr_nodes INTERFACE
yutil
yql-core-expr_nodes
)
add_custom_command(
OUTPUT
${CMAKE_BINARY_DIR}/ydb/library/yql/dq/expr_nodes/dq_expr_nodes.gen.h
${CMAKE_BINARY_DIR}/ydb/library/yql/dq/expr_nodes/dq_expr_nodes.decl.inl.h
${CMAKE_BINARY_DIR}/ydb/library/yql/dq/expr_nodes/dq_expr_nodes.defs.inl.h
DEPENDS
${CMAKE_SOURCE_DIR}/ydb/library/yql/core/expr_nodes_gen/yql_expr_nodes_gen.jnj
${CMAKE_SOURCE_DIR}/ydb/library/yql/dq/expr_nodes/dq_expr_nodes.json
${CMAKE_SOURCE_DIR}/ydb/library/yql/core/expr_nodes_gen/gen/__main__.py
COMMAND
Python3::Interpreter
${CMAKE_SOURCE_DIR}/ydb/library/yql/core/expr_nodes_gen/gen/__main__.py
${CMAKE_SOURCE_DIR}/ydb/library/yql/core/expr_nodes_gen/yql_expr_nodes_gen.jnj
${CMAKE_SOURCE_DIR}/ydb/library/yql/dq/expr_nodes/dq_expr_nodes.json
${CMAKE_BINARY_DIR}/ydb/library/yql/dq/expr_nodes/dq_expr_nodes.gen.h
${CMAKE_BINARY_DIR}/ydb/library/yql/dq/expr_nodes/dq_expr_nodes.decl.inl.h
${CMAKE_BINARY_DIR}/ydb/library/yql/dq/expr_nodes/dq_expr_nodes.defs.inl.h
)
```
ref:845858c868ca9262a974ad49179a9b5489ec2870
Diffstat (limited to 'util/charset/ut')
0 files changed, 0 insertions, 0 deletions