2016-11-20 14:07:07 +01:00
|
|
|
echo on
|
|
|
|
SetLocal EnableDelayedExpansion
|
|
|
|
|
|
|
|
if [%Configuration%] NEQ [Debug] goto releasex64
|
|
|
|
if [%Configuration%] NEQ [Release] goto debugx64
|
|
|
|
|
|
|
|
:debugx64
|
|
|
|
if [%Platform%] NEQ [x64] goto debugWin32
|
|
|
|
if [%Configuration%] NEQ [Debug] exit 0
|
2019-05-01 11:47:48 +02:00
|
|
|
call "C:\Program Files\Microsoft SDKs\Windows\v7.1\Bin\SetEnv.cmd" /Debug /x64 || exit /B
|
|
|
|
msbuild %libusb_2010% /p:Configuration=Debug,Platform=x64 /logger:"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll" || exit /B
|
2016-11-20 14:07:07 +01:00
|
|
|
|
|
|
|
:releasex64
|
|
|
|
if [%Platform%] NEQ [x64] goto releaseWin32
|
|
|
|
if [%Configuration%] NEQ [Release] exit 0
|
2019-05-01 11:47:48 +02:00
|
|
|
call "C:\Program Files\Microsoft SDKs\Windows\v7.1\Bin\SetEnv.cmd" /Release /x64 || exit /B
|
|
|
|
msbuild %libusb_2010% /p:Configuration=Release,Platform=x64 /logger:"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll" || exit /B
|
2016-11-20 14:07:07 +01:00
|
|
|
|
|
|
|
:debugWin32
|
|
|
|
if [%Platform%] NEQ [Win32] exit 0
|
|
|
|
if [%Configuration%] NEQ [Debug] exit 0
|
2019-05-01 11:47:48 +02:00
|
|
|
msbuild %libusb_2010% /p:Configuration=Debug,Platform=Win32 /logger:"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll" || exit /B
|
2016-11-20 14:07:07 +01:00
|
|
|
|
|
|
|
:releaseWin32
|
|
|
|
if [%Platform%] NEQ [Win32] exit 0
|
|
|
|
if [%Configuration%] NEQ [Release] exit 0
|
2019-05-01 11:47:48 +02:00
|
|
|
msbuild %libusb_2010% /p:Configuration=Release,Platform=Win32 /logger:"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll" || exit /B
|