Closed nadako closed 6 years ago
Looking at the source, there's code to parse and save hxml in HaxeProject, it's just not enabled and tested. :-/
Yes there is a basic hxml parser to get the OpenFL project configuration ('openfl display'). It's however not going to support complex configs. We could allow, as with OpenFL, to indicate the HXML file in place of the Output - but it has to be thought through.
HXML writing is a somewhat hidden feature that can be enabled in Program Settings > HaxeContext > Export HXML: FD will generate an HXML file corresponding to your FD project config.
Now FlashDevelop can import a project from an .hxml file. I think that this issue is accomplished
It would be a nice feature if, instead of configuring the whole haxe project in FD, you could just specify the .hxml file to use and FD would parse source paths, used libs and other configuration from it.
I imagine it would be useful not only for our project, but for many haxe projects out there, because .hxml is the standard build file format.