[template] add flags to project.hxml template

This commit is contained in:
2020-03-30 18:58:01 +03:00
parent 1bd18caa9a
commit e0eddbcab5
2 changed files with 3 additions and 1 deletions

View File

@@ -4,6 +4,8 @@
-lib <%=item.name%>:<%=item.version.split('@').shift()%><% }); %>
<% macros.forEach(function(item) { %>
--macro "<%=item%>"<% }); %>
<% flags.forEach(function(item) { %>
-D <%=item%><% }); %>
-main <%=main%>
-<%=out%> "<%=buildDir%>/<%=platform%>/bin/<%=meta.filename%><%=ext%>"