2010-11-06 23:04:47 +01:00
|
|
|
@echo off
|
2010-11-10 17:03:01 +01:00
|
|
|
set "LAMEXP_ERROR=1"
|
2010-11-06 23:04:47 +01:00
|
|
|
echo ----------------------------------------------------------------
|
|
|
|
echo Solution File: %1
|
2010-11-11 00:25:23 +01:00
|
|
|
echo Configuration: %~2
|
2010-11-06 23:04:47 +01:00
|
|
|
echo ----------------------------------------------------------------
|
2011-04-16 21:20:21 +02:00
|
|
|
call "%~d0%~p0\_paths.bat"
|
2010-11-10 21:39:37 +01:00
|
|
|
if not "%LAMEXP_ERROR%"=="0" GOTO:EOF
|
|
|
|
REM -----------------------------------------------------------------
|
|
|
|
call "%PATH_MSVC90%\VC\bin\vcvars32.bat" x86
|
2010-11-06 23:04:47 +01:00
|
|
|
call "%PATH_QTMSVC%\bin\qtvars.bat"
|
2010-11-09 22:06:11 +01:00
|
|
|
REM -----------------------------------------------------------------
|
2010-11-10 21:39:37 +01:00
|
|
|
set "LAMEXP_ERROR=1"
|
2010-11-11 14:11:44 +01:00
|
|
|
msbuild.exe /property:Configuration=%2 /property:Platform=Win32 /target:Clean /verbosity:detailed %1
|
2010-11-12 21:02:14 +01:00
|
|
|
if not "%ERRORLEVEL%"=="0" GOTO:EOF
|
2010-11-09 22:06:11 +01:00
|
|
|
echo ----------------------------------------------------------------
|
2010-11-12 21:02:14 +01:00
|
|
|
set "LAMEXP_ERROR=1"
|
2010-11-11 14:11:44 +01:00
|
|
|
msbuild.exe /property:Configuration=%2 /property:Platform=Win32 /target:Rebuild /verbosity:detailed %1
|
2010-11-20 03:11:12 +01:00
|
|
|
msbuild.exe /property:Configuration=%2 /property:Platform=Win32 /target:Build /verbosity:detailed %1
|
|
|
|
if not "%ERRORLEVEL%"=="0" GOTO:EOF
|
2010-11-09 22:06:11 +01:00
|
|
|
echo ----------------------------------------------------------------
|
2010-11-10 17:03:01 +01:00
|
|
|
set "LAMEXP_ERROR=0"
|