Merge pull request #543 from naleksiev/master

Added tvOS support.
This commit is contained in:
Branimir Karadžić 2015-10-12 13:40:36 -07:00
commit 3e0bef868c
3 changed files with 38 additions and 2 deletions

View file

@ -0,0 +1,30 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>CFBundleDevelopmentRegion</key>
<string>en</string>
<key>CFBundleExecutable</key>
<string>$(EXECUTABLE_NAME)</string>
<key>CFBundleIdentifier</key>
<string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundleName</key>
<string>$(PRODUCT_NAME)</string>
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleShortVersionString</key>
<string>1.0</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
<string>1</string>
<key>LSRequiresIPhoneOS</key>
<true/>
<key>UIRequiredDeviceCapabilities</key>
<array>
<string>arm64</string>
</array>
</dict>
</plist>

View file

@ -61,7 +61,7 @@ project ("example-common")
}
end
configuration { "osx or ios*" }
configuration { "osx or ios* or tvos*" }
files {
path.join(BGFX_DIR, "examples/common/**.mm"),
}

View file

@ -312,7 +312,7 @@ function exampleProject(_name)
"-framework OpenGL",
}
configuration { "ios*" }
configuration { "ios* or tvos*" }
kind "ConsoleApp"
linkoptions {
"-framework CoreFoundation",
@ -329,6 +329,12 @@ function exampleProject(_name)
path.join(BGFX_DIR, "examples/runtime/iOS-Info.plist"),
}
configuration { "xcode4", "tvos" }
kind "WindowedApp"
files {
path.join(BGFX_DIR, "examples/runtime/tvOS-Info.plist"),
}
configuration { "qnx*" }
targetextension ""
links {