OSDN Git Service

Implement processing thread and connect to processing dialog.
[lamexp/LameXP.git] / etc / Deployment / _build.bat
1 @echo off
2 set "LAMEXP_ERROR=1"
3 echo ----------------------------------------------------------------
4 echo Solution File: %1
5 echo Configuration: %~2
6 echo ----------------------------------------------------------------
7 call _paths.bat
8 if not "%LAMEXP_ERROR%"=="0" GOTO:EOF
9 REM -----------------------------------------------------------------
10 call "%PATH_MSVC90%\VC\bin\vcvars32.bat" x86
11 call "%PATH_QTMSVC%\bin\qtvars.bat"
12 REM -----------------------------------------------------------------
13 set "LAMEXP_ERROR=1"
14 msbuild.exe /property:Configuration=%2 /property:Platform=Win32 /target:Clean /verbosity:detailed %1
15 if not "%ERRORLEVEL%"=="0" GOTO:EOF
16 echo ----------------------------------------------------------------
17 set "LAMEXP_ERROR=1"
18 msbuild.exe /property:Configuration=%2 /property:Platform=Win32 /target:Rebuild /verbosity:detailed %1
19 if not "%ERRORLEVEL%"=="0" (
20         msbuild.exe /property:Configuration=%2 /property:Platform=Win32 /target:Build /verbosity:detailed %1
21         if not "%ERRORLEVEL%"=="0" GOTO:EOF
22 )
23 echo ----------------------------------------------------------------
24 set "LAMEXP_ERROR=0"