LameXP/etc/Deployment/_build.bat

24 lines
1.2 KiB
Batchfile
Raw Normal View History

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: %~2
2010-11-06 23:04:47 +01:00
echo ----------------------------------------------------------------
2011-04-19 16:21:19 +02:00
call "%~dp0\_paths.bat"
if not "%LAMEXP_ERROR%"=="0" GOTO:EOF
REM -----------------------------------------------------------------
2013-10-18 20:44:55 +02:00
call "%PATH_MSCDIR%\VC\bin\vcvars32.bat" x86
if exist "%PATH_QTMSVC%\bin\qtenv2.bat" call "%PATH_QTMSVC%\bin\qtenv2.bat"
if exist "%PATH_QTMSVC%\bin\qtvars.bat" call "%PATH_QTMSVC%\bin\qtvars.bat"
REM -----------------------------------------------------------------
set "LAMEXP_ERROR=1"
msbuild.exe /property:Configuration=%2 /property:Platform=Win32 /target:Clean /verbosity:normal %1
if not "%ERRORLEVEL%"=="0" GOTO:EOF
echo ----------------------------------------------------------------
set "LAMEXP_ERROR=1"
msbuild.exe /property:Configuration=%2 /property:Platform=Win32 /target:Rebuild /verbosity:normal %1
msbuild.exe /property:Configuration=%2 /property:Platform=Win32 /target:Build /verbosity:normal %1
if not "%ERRORLEVEL%"=="0" GOTO:EOF
echo ----------------------------------------------------------------
2010-11-10 17:03:01 +01:00
set "LAMEXP_ERROR=0"