From a61672338805617c5c74f4d209b1be349d2c0d26 Mon Sep 17 00:00:00 2001 From: Mike Popoloski Date: Sun, 24 May 2015 13:04:34 -0400 Subject: [PATCH] Adding Windows Store targets. --- scripts/toolchain.lua | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/scripts/toolchain.lua b/scripts/toolchain.lua index 94616b8..0422db1 100755 --- a/scripts/toolchain.lua +++ b/scripts/toolchain.lua @@ -46,6 +46,8 @@ function toolchain(_buildDir, _libDir) { "vs2015-xp", "Visual Studio 2015 targeting XP" }, { "winphone8", "Windows Phone 8.0" }, { "winphone81", "Windows Phone 8.1" }, + { "winstore81", "Windows Store 8.1" }, + { "winstore82", "Universal Windows App" } }, } @@ -281,9 +283,22 @@ function toolchain(_buildDir, _libDir) elseif "winphone81" == _OPTIONS["vs"] then premake.vstudio.toolset = "v120_wp81" + premake.vstudio.storeapp = "8.1" platforms { "ARM" } location (path.join(_buildDir, "projects", _ACTION .. "-winphone81")) + elseif "winstore81" == _OPTIONS["vs"] then + premake.vstudio.toolset = "v120" + premake.vstudio.storeapp = "8.1" + platforms { "ARM" } + location (path.join(_buildDir, "projects", _ACTION .. "-winstore81")) + + elseif "winstore82" == _OPTIONS["vs"] then + premake.vstudio.toolset = "v140" + premake.vstudio.storeapp = "8.2" + platforms { "ARM" } + location (path.join(_buildDir, "projects", _ACTION .. "-winstore82")) + elseif ("vs2012-xp") == _OPTIONS["vs"] then premake.vstudio.toolset = ("v110_xp") location (path.join(_buildDir, "projects", _ACTION .. "-xp")) @@ -397,7 +412,7 @@ function toolchain(_buildDir, _libDir) targetdir (path.join(_buildDir, "win64_" .. _ACTION .. "-clang/bin")) objdir (path.join(_buildDir, "win64_" .. _ACTION .. "-clang/obj")) - configuration { "winphone8*" } + configuration { "winphone8* or winstore8*" } removeflags { "StaticRuntime", "NoExceptions",