Is crosscompilation supported or documented by HaxeFlixel? #2892
-
Hi! I've been checking the docs but I haven't been able to find any proper docs on how to export binaries from one OS to another entirely. Let's say I am on Linux and I want to export a build with Windows using MinGW. How would that be achieved? Are there any tools that facilitate such behavior? On my quest to find answers, I only got this SO exchange about it There was also this post but I am not sure if it is still relevant to how Flixel works with But I am pretty sure you can't easily do a "lime test windows" from Linux without either a fork of Lime (that's not even archived it seems?) or the like, right? Just wanting to know about this specific scenario. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
There isn't really a great way to cross compile for flixel afaik. What I've been doing is setting up a GitHub workflow file to compile a project to different targets when I commit to a repository. That's what I would recommend, the only other option really is to get a friend to compile it for windows / macos / linux or do it on a separate machine or vm. |
Beta Was this translation helpful? Give feedback.
-
I'd like to give an update. If we investigate what Lime is currently doing, it seems the road for cross-compilation on other platforms doesn't seem to be too far away, as there are open commits waiting to be merged. Albeit the discussion seems to be around if passing an -hl (HashLink) flag or a MinGW flag -mingw. openfl/lime#1610 If all of these are somehow merged or find a way to document and establish this functionality, then, is likely that HaxeFlixel would also now compile through a Linux or macOS host it seems. Awaiting to see how it goes. |
Beta Was this translation helpful? Give feedback.
There isn't really a great way to cross compile for flixel afaik. What I've been doing is setting up a GitHub workflow file to compile a project to different targets when I commit to a repository. That's what I would recommend, the only other option really is to get a friend to compile it for windows / macos / linux or do it on a separate machine or vm.