Implement COMPILE_NLG macro in ymake.core.conf
Instead of plugin-based implementation in
@@ -4102,6 +4102,16 @@ macro BUILD_PLNS(Src...) {
.PEERDIR=kernel/relevfml library/sse
}
+### @usage: COMPILE_NLG(Src...)
+###
+### Generate and compile .nlg templates (Jinja2-based) and interface for megamind runtime.
+###
+### Alice-specific macro
+macro COMPILE_NLG(Src...) {
+ PEERDIR(alice/nlg/runtime)
+ RUN_PROGRAM(alice/nlg/bin compile-cpp --import-dir ${CURDIR} --out-dir ${BINDIR} --include-prefix ${rootrel;dirallowed:BINDIR} ${Src} IN ${Src} OUT register.cpp register.h ${suf=.cpp:Src} ${suf=.h:Src})
+}
+
### @usage: NEED_CHECK()
###
### Commits to the project marked with this macro will be blocked by pre-commit check and then will be
