mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-09-19 01:57:55 +08:00
Adding x84 variation to single-click builder
Needed to detect vs2k8 environment batch file on x64 operating systems --HG-- branch : dev
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
|
||||
if "%WindowsSdkDir%" neq "" goto build
|
||||
if exist "%ProgramFiles(x86)%\Microsoft Visual Studio 9.0\VC\vcvarsall.bat" goto initialize2k8on64
|
||||
if exist "%ProgramFiles%\Microsoft Visual Studio 9.0\VC\vcvarsall.bat" goto initialize2k8
|
||||
echo "Unable to detect suitable environment. Build may not succeed."
|
||||
goto build
|
||||
@@ -9,6 +10,10 @@ goto build
|
||||
call "%ProgramFiles%\Microsoft Visual Studio 9.0\VC\vcvarsall.bat" x86
|
||||
goto build
|
||||
|
||||
:initialize2k8on64
|
||||
call "%ProgramFiles(x86)%\Microsoft Visual Studio 9.0\VC\vcvarsall.bat" x86
|
||||
goto build
|
||||
|
||||
|
||||
:build
|
||||
call build
|
||||
|
Reference in New Issue
Block a user