diff options
Diffstat (limited to 'etc/environments/default-msvc-14.bat')
-rw-r--r-- | etc/environments/default-msvc-14.bat | 13 |
1 files changed, 3 insertions, 10 deletions
diff --git a/etc/environments/default-msvc-14.bat b/etc/environments/default-msvc-14.bat index 2af8136..fe8ebb4 100644 --- a/etc/environments/default-msvc-14.bat +++ b/etc/environments/default-msvc-14.bat @@ -17,10 +17,7 @@ setlocal EnableExtensions EnableDelayedExpansion set "MSVC=C:\Program Files (x86)\Microsoft Visual Studio 14.0" set "VCVARS=%MSVC%\VC\vcvarsall.bat" -rem Based on target determine what we are building. If the target is -rem not specified, then we build 64-bit by default. -rem -rem Note that an empty argument is passed as "" (literal quotes). +rem Based on target determine what we are building. rem if "_%1_" == "_x86_64-microsoft-win32-msvc14.0_" ( set "VCARCH=amd64" @@ -28,12 +25,8 @@ if "_%1_" == "_x86_64-microsoft-win32-msvc14.0_" ( if "_%1_" == "_i386-microsoft-win32-msvc14.0_" ( set "VCARCH=amd64_x86" ) else ( - if _%1_ == _""_ ( - set "VCARCH=amd64" - ) else ( - echo error: unknown target %1 - goto error - ) + echo error: unknown target %1 + goto error ) ) |