Add entry class to non-template displalay command
This commit is contained in:
@@ -182,10 +182,11 @@ class AndroidPlatform extends PlatformTarget
|
|||||||
else
|
else
|
||||||
{
|
{
|
||||||
var context = project.templateContext;
|
var context = project.templateContext;
|
||||||
var hxml = new HXML();
|
var hxml = HXML.fromString(context.HAXE_FLAGS);
|
||||||
hxml.noOutput = true;
|
hxml.addClassName(context.APP_MAIN);
|
||||||
hxml.cpp = "_";
|
hxml.cpp = "_";
|
||||||
return context.HAXE_FLAGS + "\n" + hxml.toString();
|
hxml.noOutput = true;
|
||||||
|
return hxml;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -247,11 +247,12 @@ class EmscriptenPlatform extends PlatformTarget
|
|||||||
else
|
else
|
||||||
{
|
{
|
||||||
var context = project.templateContext;
|
var context = project.templateContext;
|
||||||
var hxml = new HXML();
|
var hxml = HXML.fromString(context.HAXE_FLAGS);
|
||||||
hxml.noOutput = true;
|
hxml.addClassName(context.APP_MAIN);
|
||||||
hxml.cpp = "_";
|
hxml.cpp = "_";
|
||||||
hxml.define("webgl");
|
hxml.define("webgl");
|
||||||
return context.HAXE_FLAGS + "\n" + hxml.toString();
|
hxml.noOutput = true;
|
||||||
|
return hxml;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -109,11 +109,12 @@ class FlashPlatform extends PlatformTarget
|
|||||||
else
|
else
|
||||||
{
|
{
|
||||||
var context = project.templateContext;
|
var context = project.templateContext;
|
||||||
var hxml = new HXML();
|
var hxml = HXML.fromString(context.HAXE_FLAGS);
|
||||||
hxml.noOutput = true;
|
hxml.addClassName(context.APP_MAIN);
|
||||||
hxml.swfVersion = context.SWF_VERSION;
|
|
||||||
hxml.swf = "_.swf";
|
hxml.swf = "_.swf";
|
||||||
return context.HAXE_FLAGS + "\n" + hxml.toString();
|
hxml.swfVersion = context.SWF_VERSION;
|
||||||
|
hxml.noOutput = true;
|
||||||
|
return hxml;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -131,15 +131,16 @@ class HTML5Platform extends PlatformTarget
|
|||||||
else
|
else
|
||||||
{
|
{
|
||||||
var context = project.templateContext;
|
var context = project.templateContext;
|
||||||
var hxml = new HXML();
|
var hxml = HXML.fromString(context.HAXE_FLAGS);
|
||||||
hxml.noOutput = true;
|
hxml.addClassName(context.APP_MAIN);
|
||||||
hxml.js = "_";
|
hxml.js = "_";
|
||||||
hxml.define("html");
|
hxml.define("html");
|
||||||
if (targetFlags.exists("electron"))
|
if (targetFlags.exists("electron"))
|
||||||
{
|
{
|
||||||
hxml.define("electron");
|
hxml.define("electron");
|
||||||
}
|
}
|
||||||
return context.HAXE_FLAGS + "\n" + hxml.toString();
|
hxml.noOutput = true;
|
||||||
|
return hxml;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -378,11 +378,12 @@ class IOSPlatform extends PlatformTarget
|
|||||||
else
|
else
|
||||||
{
|
{
|
||||||
var context = project.templateContext;
|
var context = project.templateContext;
|
||||||
var hxml = new HXML();
|
var hxml = HXML.fromString(context.HAXE_FLAGS);
|
||||||
hxml.noOutput = true;
|
hxml.addClassName(context.APP_MAIN);
|
||||||
hxml.cpp = "_";
|
hxml.cpp = "_";
|
||||||
hxml.define("iphone");
|
hxml.define("iphone");
|
||||||
return context.HAXE_FLAGS + "\n" + hxml.toString();
|
hxml.noOutput = true;
|
||||||
|
return hxml;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -260,8 +260,8 @@ class LinuxPlatform extends PlatformTarget
|
|||||||
else
|
else
|
||||||
{
|
{
|
||||||
var context = project.templateContext;
|
var context = project.templateContext;
|
||||||
var hxml = new HXML();
|
var hxml = HXML.fromString(context.HAXE_FLAGS);
|
||||||
hxml.noOutput = true;
|
hxml.addClassName(context.APP_MAIN);
|
||||||
switch (targetType)
|
switch (targetType)
|
||||||
{
|
{
|
||||||
case "hl": hxml.hl = "_.hl";
|
case "hl": hxml.hl = "_.hl";
|
||||||
@@ -270,7 +270,8 @@ class LinuxPlatform extends PlatformTarget
|
|||||||
case "nodejs": hxml.js = "_.js";
|
case "nodejs": hxml.js = "_.js";
|
||||||
default: hxml.cpp = "_";
|
default: hxml.cpp = "_";
|
||||||
}
|
}
|
||||||
return context.HAXE_FLAGS + "\n" + hxml.toString();
|
hxml.noOutput = true;
|
||||||
|
return hxml;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -235,8 +235,8 @@ class MacPlatform extends PlatformTarget
|
|||||||
else
|
else
|
||||||
{
|
{
|
||||||
var context = project.templateContext;
|
var context = project.templateContext;
|
||||||
var hxml = new HXML();
|
var hxml = HXML.fromString(context.HAXE_FLAGS);
|
||||||
hxml.noOutput = true;
|
hxml.addClassName(context.APP_MAIN);
|
||||||
switch (targetType)
|
switch (targetType)
|
||||||
{
|
{
|
||||||
case "hl": hxml.hl = "_.hl";
|
case "hl": hxml.hl = "_.hl";
|
||||||
@@ -245,7 +245,8 @@ class MacPlatform extends PlatformTarget
|
|||||||
case "nodejs": hxml.js = "_.js";
|
case "nodejs": hxml.js = "_.js";
|
||||||
default: hxml.cpp = "_";
|
default: hxml.cpp = "_";
|
||||||
}
|
}
|
||||||
return context.HAXE_FLAGS + "\n" + hxml.toString();
|
hxml.noOutput = true;
|
||||||
|
return hxml;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -305,12 +305,13 @@ class TVOSPlatform extends PlatformTarget
|
|||||||
else
|
else
|
||||||
{
|
{
|
||||||
var context = project.templateContext;
|
var context = project.templateContext;
|
||||||
var hxml = new HXML();
|
var hxml = HXML.fromString(context.HAXE_FLAGS);
|
||||||
hxml.noOutput = true;
|
hxml.addClassName(context.APP_MAIN);
|
||||||
hxml.cpp = "_";
|
hxml.cpp = "_";
|
||||||
hxml.define("tvos");
|
hxml.define("tvos");
|
||||||
hxml.define("appletv");
|
hxml.define("appletv");
|
||||||
return context.HAXE_FLAGS + "\n" + hxml.toString();
|
hxml.noOutput = true;
|
||||||
|
return hxml;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -425,8 +425,8 @@ class WindowsPlatform extends PlatformTarget
|
|||||||
else
|
else
|
||||||
{
|
{
|
||||||
var context = project.templateContext;
|
var context = project.templateContext;
|
||||||
var hxml = new HXML();
|
var hxml = HXML.fromString(context.HAXE_FLAGS);
|
||||||
hxml.noOutput = true;
|
hxml.addClassName(context.APP_MAIN);
|
||||||
switch (targetType)
|
switch (targetType)
|
||||||
{
|
{
|
||||||
case "hl": hxml.hl = "_.hl";
|
case "hl": hxml.hl = "_.hl";
|
||||||
@@ -435,7 +435,8 @@ class WindowsPlatform extends PlatformTarget
|
|||||||
case "nodejs", "winjs": hxml.js = "_.js";
|
case "nodejs", "winjs": hxml.js = "_.js";
|
||||||
default: hxml.cpp = "_";
|
default: hxml.cpp = "_";
|
||||||
}
|
}
|
||||||
return context.HAXE_FLAGS + "\n" + hxml.toString();
|
hxml.noOutput = true;
|
||||||
|
return hxml;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user