First few changes to build a tvOS target

This commit is contained in:
Valerio Santinelli
2015-09-28 20:03:27 +02:00
parent 5ff00ac628
commit 1fe5147158
8 changed files with 28 additions and 13 deletions

View File

@@ -582,6 +582,10 @@ class CommandLineTools {
platform = new EmscriptenPlatform (command, project, targetFlags);
case TVOS:
platform = new IOSPlatform (command, project, targetFlags);
default:
}
@@ -746,6 +750,7 @@ class CommandLineTools {
LogHelper.println (" \x1b[1mlinux\x1b[0m -- Create a Linux application");
LogHelper.println (" \x1b[1mmac\x1b[0m -- Create a Mac OS X application");
LogHelper.println (" \x1b[1mtizen\x1b[0m -- Create a Tizen application");
LogHelper.println (" \x1b[1mtvos\x1b[0m -- Create a tvOS application");
LogHelper.println (" \x1b[1mwebos\x1b[0m -- Create a webOS application");
LogHelper.println (" \x1b[1mwindows\x1b[0m -- Create a Windows application");
LogHelper.println ("");

View File

@@ -475,6 +475,14 @@ class PlatformSetup {
setupOpenFL ();
case "tvos":
if (PlatformHelper.hostPlatform == Platform.MAC) {
setupMac ();
}
case "":
switch (CommandLineTools.defaultLibrary) {