VeraCrypt
aboutsummaryrefslogtreecommitdiff
path: root/src/Driver/BuildDriver.cmd
diff options
context:
space:
mode:
authorMounir IDRASSI <mounir.idrassi@idrix.fr>2016-06-17 15:43:20 +0200
committerMounir IDRASSI <mounir.idrassi@idrix.fr>2016-06-17 15:50:47 +0200
commit42373efcfdbad2a96896846ba3c151154dd35b84 (patch)
tree9f524e1a63a66cfc6498edf67622cf0beb35286c /src/Driver/BuildDriver.cmd
parent6ae982cccf42a54cef60f5948aa46604859b4871 (diff)
downloadVeraCrypt-42373efcfdbad2a96896846ba3c151154dd35b84.tar.gz
VeraCrypt-42373efcfdbad2a96896846ba3c151154dd35b84.zip
Windows: Use Visual C++ 2010 instead of Visual C++ 2008.
Diffstat (limited to 'src/Driver/BuildDriver.cmd')
-rw-r--r--src/Driver/BuildDriver.cmd7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/Driver/BuildDriver.cmd b/src/Driver/BuildDriver.cmd
index 42f715dc..db413157 100644
--- a/src/Driver/BuildDriver.cmd
+++ b/src/Driver/BuildDriver.cmd
@@ -103,6 +103,13 @@ pushd .
call %TC_WINDDK_ROOT%\bin\setenv %TC_WINDDK_ROOT% %TC_BUILD_TYPE% %TC_BUILD_ARCH% no_oacr || exit /B %errorlevel%
popd
+if "%TC_ARG_ARCH%"=="-x64" (
+ @call "%VS100COMNTOOLS%VCVarsQueryRegistry.bat" 32bit No64bit
+ @set "PATH=%VSINSTALLDIR%Common7\IDE;%VSINSTALLDIR%VC\bin\amd64;%PATH%"
+) else (
+ @call "%VS100COMNTOOLS%VCVarsQueryRegistry.bat" No32bit 64bit
+ @set "PATH=PATH=%VSINSTALLDIR%Common7\IDE;%VSINSTALLDIR%VC\bin;%PATH%"
+)
:: Build