Lime build args

hi, i use lime build mac task in visual Code but i have to pass somme args to build the cpp mac target like
haxe build.hxml -D enable_asio -D asio_path=C:/Users/username/Downloads/asio –cp …
how to configure the VS task or project.xml such defines to lime ?

<haxedef/> in project.xml.

Oh, and running openfl help build mentions this alternative you can use from the command line, if you don’t want to permanently add it to project.xml:


And if you want to add any other args, besides the ones with the -D, that would be with <haxeflag> in project.xml, or --haxeflag=value on the command line.