|
@@ -72,6 +72,14 @@ run_antlr(
|
|
|
-language
|
|
|
protobuf
|
|
|
)
|
|
|
+configure_file(
|
|
|
+ ${CMAKE_SOURCE_DIR}/ydb/library/yql/parser/proto_ast/org/antlr/codegen/templates/protobuf/protobuf.stg.in
|
|
|
+ ${CMAKE_BINARY_DIR}/ydb/library/yql/parser/proto_ast/gen/jsonpath/org/antlr/codegen/templates/protobuf/protobuf.stg
|
|
|
+)
|
|
|
+configure_file(
|
|
|
+ ${CMAKE_SOURCE_DIR}/ydb/library/yql/parser/proto_ast/org/antlr/codegen/templates/Cpp/Cpp.stg.in
|
|
|
+ ${CMAKE_BINARY_DIR}/ydb/library/yql/parser/proto_ast/gen/jsonpath/org/antlr/codegen/templates/Cpp/Cpp.stg
|
|
|
+)
|
|
|
run_antlr(
|
|
|
OUTPUT
|
|
|
${CMAKE_BINARY_DIR}/ydb/library/yql/parser/proto_ast/gen/jsonpath/JsonPathParser.cpp
|