From 6c5f261887d560b03b5fa0cc097b79d6d79c1839 Mon Sep 17 00:00:00 2001 From: Thijs Schreijer Date: Wed, 2 Dec 2015 22:58:05 +0100 Subject: removed /debug /release switches for setting up the enviornment. it does NOT determine linking against a debug runtime or release runtime. --- install.bat | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/install.bat b/install.bat index 4cf785d4..f5692c6e 100644 --- a/install.bat +++ b/install.bat @@ -502,7 +502,6 @@ local function get_msvc_env_setup_cmd() assert(type(vars.UNAME_M) == "string", "requires vars.UNAME_M to be set before calling this function.") local x64 = vars.UNAME_M=="x86_64" - local debug = vars.LUA_RUNTIME:find("D$") -- runtime ending with "D" is a debug runtime -- 1. try visual studio command line tools local vcdir = get_visual_studio_directory() @@ -526,7 +525,7 @@ local function get_msvc_env_setup_cmd() if wsdkdir then local setenv = wsdkdir.."Bin\\SetEnv.cmd" if exists(setenv) then - return ('call "%s" /%s /%s'):format(setenv, debug and "Debug" or "Release" ,x64 and "x64" or "x86") + return ('call "%s" /%s'):format(setenv, x64 and "x64" or "x86") end end -- cgit v1.2.3-55-g6feb