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
|
|
|
|
echo Configuration: %~n2
|
|
|
|
echo ----------------------------------------------------------------
|
2010-11-09 22:06:11 +01:00
|
|
|
call _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-09 22:06:11 +01:00
|
|
|
msbuild.exe /property:Configuration=%~n2 /target:Clean /verbosity:d %1
|
2010-11-10 17:03:01 +01:00
|
|
|
if exist "%~d1%~p1bin\%~n2\*.exe" GOTO:EOF
|
|
|
|
if exist "%~d1%~p1obj\%~n2\*.obj" GOTO:EOF
|
2010-11-09 22:06:11 +01:00
|
|
|
echo ----------------------------------------------------------------
|
|
|
|
msbuild.exe /property:Configuration=%~n2 /target:Rebuild /verbosity:d %1
|
|
|
|
echo ----------------------------------------------------------------
|
2010-11-10 17:03:01 +01:00
|
|
|
if not exist "%~d1%~p1bin\%~n2\%~n1.exe" GOTO:EOF
|
|
|
|
REM -----------------------------------------------------------------
|
|
|
|
set "LAMEXP_ERROR=0"
|