Add plugin for YDL files support
Pull-request for branch users/ngc224/add_ydl_plugin
@@ -2563,6 +2563,10 @@ macro _SRC("supp", SRC, SRCFLAGS...) {
.CMD=$COPY_CMD ${input:SRC} ${output;suf=.o:SRC} ${kv;hide:"p SP"} ${kv;hide:"pc light-cyan"}
}
+macro _SRC("ydl", SRC, SRCFLAGS...) {
+ .CMD=${tool:"statbox/ydl/tooling/ydlc/bin"} -I ${ARCADIA_ROOT} --cpp-output-header ${output;suf=.h:SRC} --cpp-output-source ${output;suf=.cpp:SRC} ${input:SRC}
+}
+
macro SRC(FILE, FLAGS...) {
_SRC(${lastext:FILE} $FILE $FLAGS)
}
