mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-09-19 10:07: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 "%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
|
if exist "%ProgramFiles%\Microsoft Visual Studio 9.0\VC\vcvarsall.bat" goto initialize2k8
|
||||||
echo "Unable to detect suitable environment. Build may not succeed."
|
echo "Unable to detect suitable environment. Build may not succeed."
|
||||||
goto build
|
goto build
|
||||||
@@ -9,6 +10,10 @@ goto build
|
|||||||
call "%ProgramFiles%\Microsoft Visual Studio 9.0\VC\vcvarsall.bat" x86
|
call "%ProgramFiles%\Microsoft Visual Studio 9.0\VC\vcvarsall.bat" x86
|
||||||
goto build
|
goto build
|
||||||
|
|
||||||
|
:initialize2k8on64
|
||||||
|
call "%ProgramFiles(x86)%\Microsoft Visual Studio 9.0\VC\vcvarsall.bat" x86
|
||||||
|
goto build
|
||||||
|
|
||||||
|
|
||||||
:build
|
:build
|
||||||
call build
|
call build
|
||||||
|
Reference in New Issue
Block a user