Quantcast
Channel: JetBrains Developer Community : Thread List - IntelliJ IDEA Users
Viewing all articles
Browse latest Browse all 5661

Haxe: Multiple build targets for same module

$
0
0

I am working with the Haxe plugin for IDEA. The goal of Haxe is to have one code base, and multiple targets (Flash, iOS, Android, HTML5). Here's the problem I'm having:

 

The project is set up, and the module defines the source folder, and also the "target". So I need to specify which target (Flash, HTML5, etc) at the module level.

 

The thing is, I need an easy way to build for differnet targets from the same module or source. Ideally, this would be a differnet build configuration, but those are tied to modules. I can't set up a different module for each target because they share the same source, and content root. See where I'm going with this?

 

Right now, to build for different targets, I have to manually change the target in the module definition. Is there a better way to do it?


Viewing all articles
Browse latest Browse all 5661

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>