aboutsummaryrefslogtreecommitdiffstats
path: root/yql/essentials/core/dqs_expr_nodes/ya.make
blob: 35519a2d71273e6a247be0899c73d2d65acda962 (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
LIBRARY()

SRCS(
    dqs_expr_nodes.h
)

PEERDIR(
    yql/essentials/core/expr_nodes
)

SRCDIR(
    yql/essentials/core/expr_nodes_gen
)

IF(EXPORT_CMAKE)
    RUN_PYTHON3(
        ${ARCADIA_ROOT}/yql/essentials/core/expr_nodes_gen/gen/__main__.py
        yql_expr_nodes_gen.jnj
        dqs_expr_nodes.json
        dqs_expr_nodes.gen.h
        dqs_expr_nodes.decl.inl.h
        dqs_expr_nodes.defs.inl.h
        NDq
        IN yql_expr_nodes_gen.jnj
        IN dqs_expr_nodes.json
        OUT dqs_expr_nodes.gen.h
        OUT dqs_expr_nodes.decl.inl.h
        OUT dqs_expr_nodes.defs.inl.h
        OUTPUT_INCLUDES
        ${ARCADIA_ROOT}/yql/essentials/core/expr_nodes_gen/yql_expr_nodes_gen.h
        ${ARCADIA_ROOT}/util/generic/hash_set.h
    )
ELSE()
    RUN_PROGRAM(
        yql/essentials/core/expr_nodes_gen/gen
        yql_expr_nodes_gen.jnj
        dqs_expr_nodes.json
        dqs_expr_nodes.gen.h
        dqs_expr_nodes.decl.inl.h
        dqs_expr_nodes.defs.inl.h
        NDq
        IN yql_expr_nodes_gen.jnj
        IN dqs_expr_nodes.json
        OUT dqs_expr_nodes.gen.h
        OUT dqs_expr_nodes.decl.inl.h
        OUT dqs_expr_nodes.defs.inl.h
        OUTPUT_INCLUDES
        ${ARCADIA_ROOT}/yql/essentials/core/expr_nodes_gen/yql_expr_nodes_gen.h
        ${ARCADIA_ROOT}/util/generic/hash_set.h
    )
ENDIF()

END()