Added tvOS support.

This commit is contained in:
Aleks
2015-10-12 13:32:39 -07:00
parent 2e03597c74
commit aab8751ac5
3 changed files with 38 additions and 2 deletions

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 {