Orchard/ClickToBuild.cmd
Louis DeJardin 6267c938de Mechanical refinement to build cmd files
build.cmd can take an optional target name like Compile or several targets in order with quotes like "Compile,Package"
clicktobuild.cmd will detect when the sdk env variable is not present, and vs2k8 is, and it will run the vs batch to initialize environment for calling msbuild

--HG--
branch : dev
2010-02-07 15:07:45 -08:00

20 lines
370 B
Batchfile

if "%WindowsSdkDir%" neq "" goto build
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
:initialize2k8
call "%ProgramFiles%\Microsoft Visual Studio 9.0\VC\vcvarsall.bat" x86
goto build
:build
call build
pause
goto end
:end