ya.make 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. LIBRARY()
  2. PEERDIR(
  3. yql/essentials/core/expr_nodes
  4. yql/essentials/providers/common/provider
  5. )
  6. SRCS(
  7. yql_stat_expr_nodes.cpp
  8. )
  9. SRCDIR(
  10. yql/essentials/core/expr_nodes_gen
  11. )
  12. IF(EXPORT_CMAKE)
  13. RUN_PYTHON3(
  14. ${ARCADIA_ROOT}/yql/essentials/core/expr_nodes_gen/gen/__main__.py
  15. yql_expr_nodes_gen.jnj
  16. yql_stat_expr_nodes.json
  17. yql_stat_expr_nodes.gen.h
  18. yql_stat_expr_nodes.decl.inl.h
  19. yql_stat_expr_nodes.defs.inl.h
  20. IN yql_expr_nodes_gen.jnj
  21. IN yql_stat_expr_nodes.json
  22. OUT yql_stat_expr_nodes.gen.h
  23. OUT yql_stat_expr_nodes.decl.inl.h
  24. OUT yql_stat_expr_nodes.defs.inl.h
  25. OUTPUT_INCLUDES
  26. ${ARCADIA_ROOT}/yql/essentials/core/expr_nodes_gen/yql_expr_nodes_gen.h
  27. ${ARCADIA_ROOT}/util/generic/hash_set.h
  28. )
  29. ELSE()
  30. RUN_PROGRAM(
  31. yql/essentials/core/expr_nodes_gen/gen
  32. yql_expr_nodes_gen.jnj
  33. yql_stat_expr_nodes.json
  34. yql_stat_expr_nodes.gen.h
  35. yql_stat_expr_nodes.decl.inl.h
  36. yql_stat_expr_nodes.defs.inl.h
  37. IN yql_expr_nodes_gen.jnj
  38. IN yql_stat_expr_nodes.json
  39. OUT yql_stat_expr_nodes.gen.h
  40. OUT yql_stat_expr_nodes.decl.inl.h
  41. OUT yql_stat_expr_nodes.defs.inl.h
  42. OUTPUT_INCLUDES
  43. ${ARCADIA_ROOT}/yql/essentials/core/expr_nodes_gen/yql_expr_nodes_gen.h
  44. ${ARCADIA_ROOT}/util/generic/hash_set.h
  45. )
  46. ENDIF()
  47. END()