-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathxboxone_gdk.lua
More file actions
39 lines (28 loc) · 874 Bytes
/
xboxone_gdk.lua
File metadata and controls
39 lines (28 loc) · 874 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
--
-- Xbox One GDK support for Visual Studio backend.
-- Copyright Blizzard Entertainment, Inc
--
--
-- Non-overrides
--
local p = premake
local vstudio = p.vstudio
local vc2010 = p.vstudio.vc2010
p.XBOXONE_GDK = "xboxone_gdk"
if vstudio.vs2010_architectures ~= nil then
vstudio.vs2010_architectures.xboxone_gdk = "Gaming.Xbox.XboxOne.x64"
p.api.addAllowed("system", p.XBOXONE_GDK)
os.systemTags[p.XBOXONE_GDK] = { "xboxone_gdk", "xboxone", "gdk", "xbox", "console" }
local osoption = p.option.get("os")
if osoption ~= nil then
table.insert(osoption.allowed, { p.XBOXONE_GDK, "Xbox One (GDK)" })
end
end
filter { "system:xboxone_gdk" }
architecture "x86_64"
filter { "system:xboxone_gdk", "kind:ConsoleApp or WindowedApp" }
targetextension ".exe"
filter { "system:xboxone_gdk", "kind:StaticLib" }
targetprefix ""
targetextension ".lib"
filter {}