4 echo ----------------------------------------------------------------
6 echo Configuration: %~2
7 echo ----------------------------------------------------------------
10 :: ---------------------------------------------------------------------------
12 :: ---------------------------------------------------------------------------
14 call "%~dp0\_paths.bat"
15 call "%PATH_MSCDIR%\VC\bin\vcvars32.bat" x86
17 if exist "%PATH_QTMSVC%\bin\qtenv2.bat" (
18 call "%PATH_QTMSVC%\bin\qtenv2.bat"
21 if exist "%PATH_QTMSVC%\bin\qtvars.bat" (
22 call "%PATH_QTMSVC%\bin\qtvars.bat"
25 :: ---------------------------------------------------------------------------
27 :: ---------------------------------------------------------------------------
29 msbuild.exe /property:Configuration=%2 /property:Platform=Win32 /target:Clean /verbosity:normal %1
30 if not "%ERRORLEVEL%"=="0" (
31 echo. && echo Build process has failed!
32 echo. && pause && exit
35 msbuild.exe /property:Configuration=%2 /property:Platform=Win32 /target:Rebuild /verbosity:normal %1
36 if not "%ERRORLEVEL%"=="0" (
37 echo. && echo Build process has failed!
38 echo. && pause && exit
41 msbuild.exe /property:Configuration=%2 /property:Platform=Win32 /target:Build /verbosity:normal %1
42 if not "%ERRORLEVEL%"=="0" (
43 echo. && echo Build process has failed!
44 echo. && pause && exit