[core] Adding ARM support for Visual Studio.
This commit is contained in:
parent
6cc2514737
commit
1e648f5515
@ -26,6 +26,7 @@
|
||||
"universal",
|
||||
p.X86,
|
||||
p.X86_64,
|
||||
p.ARM,
|
||||
},
|
||||
aliases = {
|
||||
i386 = p.X86,
|
||||
|
@ -24,6 +24,7 @@
|
||||
x86 = "x86",
|
||||
x86_64 = "x64",
|
||||
xbox360 = "Xbox 360",
|
||||
ARM = "ARM",
|
||||
}
|
||||
|
||||
vstudio.vs2010_architectures =
|
||||
|
@ -159,6 +159,7 @@
|
||||
m.platformToolset,
|
||||
m.wholeProgramOptimization,
|
||||
m.nmakeOutDirs,
|
||||
m.windowsSDKDesktopARMSupport,
|
||||
}
|
||||
end
|
||||
end
|
||||
@ -1792,6 +1793,13 @@
|
||||
end
|
||||
|
||||
|
||||
function m.windowsSDKDesktopARMSupport(cfg)
|
||||
if cfg.architecture == p.ARM then
|
||||
p.w('<WindowsSDKDesktopARMSupport>true</WindowsSDKDesktopARMSupport>')
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
function m.nmakeOutput(cfg)
|
||||
m.element("NMakeOutput", nil, "$(OutDir)%s", cfg.buildtarget.name)
|
||||
end
|
||||
|
@ -53,6 +53,7 @@
|
||||
premake.WINDOWS = "windows"
|
||||
premake.X86 = "x86"
|
||||
premake.X86_64 = "x86_64"
|
||||
premake.ARM = "ARM"
|
||||
premake.XBOX360 = "xbox360"
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user