@echo off if "%VS90COMNTOOLS%" == "" ( msg "%username%" "Visual Studio 9 not detected" exit 1 ) if not exist x265.sln ( call make-solutions.bat ) if exist x265.sln ( call "%VS90COMNTOOLS%\..\..\VC\vcvarsall.bat" MSBuild /property:Configuration="Release" x265.sln MSBuild /property:Configuration="Debug" x265.sln MSBuild /property:Configuration="RelWithDebInfo" x265.sln )