More changes for tvOS support
This commit is contained in:
@@ -51,7 +51,7 @@
|
||||
|
||||
<ndll name="std" haxelib="hxcpp" if="cpp" unless="lime-console" />
|
||||
<ndll name="regexp" haxelib="hxcpp" if="cpp" />
|
||||
<ndll name="zlib" haxelib="hxcpp" if="cpp" unless="emscripten || ios || static_link" />
|
||||
<ndll name="zlib" haxelib="hxcpp" if="cpp" unless="emscripten || ios || static_link || tvos" />
|
||||
|
||||
<ndll name="lime" if="cpp || neko || nodejs" unless="lime-console" />
|
||||
|
||||
|
||||
@@ -485,9 +485,9 @@ class TVOSPlatform extends PlatformTarget {
|
||||
|
||||
if (!FileSystem.exists (releaseLib)) {
|
||||
|
||||
releaseLib = PathHelper.getLibraryPath (ndll, "iPhone", "lib", ".iphoneos.a");
|
||||
releaseLib = PathHelper.getLibraryPath (ndll, "tvOS", "lib", ".tvos.a");
|
||||
LogHelper.info("alternative releaseLib: " + releaseLib);
|
||||
debugLib = PathHelper.getLibraryPath (ndll, "iPhone", "lib", ".iphoneos.a", true);
|
||||
debugLib = PathHelper.getLibraryPath (ndll, "tvOS", "lib", ".tvos.a", true);
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -185,7 +185,7 @@
|
||||
|
||||
<compilerflag value="-DLIME_SDL" />
|
||||
<compilerflag value="-DNATIVE_TOOLKIT_SDL_ANGLE" if="NATIVE_TOOLKIT_SDL_ANGLE" />
|
||||
<compilerflag value="-D__IPHONEOS__" if="ios" />
|
||||
<compilerflag value="-D__IPHONEOS__" if="ios || tvos" />
|
||||
|
||||
<file name="src/backend/sdl/SDLApplication.cpp" />
|
||||
<file name="src/backend/sdl/SDLWindow.cpp" />
|
||||
@@ -200,7 +200,7 @@
|
||||
|
||||
<compilerflag value="-DSTATIC_LINK" if="emscripten" />
|
||||
|
||||
<file name="${HXCPP}/project/libs/zlib/ZLib.cpp" if="emscripten || ios || static_link" />
|
||||
<file name="${HXCPP}/project/libs/zlib/ZLib.cpp" if="emscripten || ios || static_link || tvos" />
|
||||
|
||||
</section>
|
||||
|
||||
@@ -262,7 +262,7 @@
|
||||
<files id="native-toolkit-neko" if="LIME_NEKO" />
|
||||
<files id="native-toolkit-nfd" if="LIME_NFD" />
|
||||
<files id="native-toolkit-ogg" if="LIME_OGG" />
|
||||
<files id="native-toolkit-openal" if="LIME_OPENAL" unless="mac || iphone || android || emscripten" />
|
||||
<files id="native-toolkit-openal" if="LIME_OPENAL" unless="mac || iphone || android || emscripten || tvos" />
|
||||
<files id="native-toolkit-openal-android" if="LIME_OPENAL android" />
|
||||
<files id="native-toolkit-pixman" if="LIME_PIXMAN" />
|
||||
<files id="native-toolkit-png" if="LIME_PNG" />
|
||||
|
||||
@@ -237,6 +237,10 @@ class CommandLineTools {
|
||||
target = Platform.FIREFOX;
|
||||
overrides.haxedefs.set ("firefoxos", "");
|
||||
|
||||
case "tvos":
|
||||
|
||||
target = Platform.TVOS;
|
||||
|
||||
default:
|
||||
|
||||
target = cast targetName.toLowerCase ();
|
||||
|
||||
Reference in New Issue
Block a user