FlashDevelop — Specify an HXML file?

梦想与她 提交于 2019-12-05 13:19:40
kapex

There's more detailed help about the projects settings you need in the Haxe wiki.

You can use a custom .hxml file to build your project in FlashDevelop. Go to Project -> Properties.... Choose Custom Build as compilation target. Go to the Build tab and insert the following line in the Pre-Build Command Line field (assuming you named your build configuration compile.hxml and placed it in the root of the project directory):

$(CompilerPath)\haxe.exe $(ProjectDir)\compile.hxml

At least in the case of specifying resources, you can do this by specifying a command line argument (right click the project in the Project view, select Properties..., then click Compiler Options > Additional Compiler Options and add it there).

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!