Fixed changelog.
[LameXP.git] / etc / Deployment / _build.bat
blob154820d000fc108b8c8b73e4562d49be798f736e
1 @echo off
3 echo.
4 echo ----------------------------------------------------------------
5 echo Solution File: %1
6 echo Configuration: %~2
7 echo ----------------------------------------------------------------
8 echo.
10 :: ---------------------------------------------------------------------------
11 :: SETUP PATHS
12 :: ---------------------------------------------------------------------------
14 call "%~dp0\_paths.bat"
15 call "%PATH_MSCDIR%\VC\bin\vcvars32.bat"
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 :: ---------------------------------------------------------------------------
26 :: BUILD THE PROJECT
27 :: ---------------------------------------------------------------------------
29 msbuild.exe /property:Configuration=%3 /property:Platform=%2 /target:Clean   /verbosity:normal "%~1"
30 if not "%ERRORLEVEL%"=="0" (
31         "%~dp0\..\Utilities\CEcho.exe" red "\nBuild process has failed!\n"
32         pause && exit
35 msbuild.exe /property:Configuration=%3 /property:Platform=%2 /target:Rebuild /verbosity:normal "%~1"
36 if not "%ERRORLEVEL%"=="0" (
37         "%~dp0\..\Utilities\CEcho.exe" red "\nBuild process has failed!\n"
38         pause && exit
41 msbuild.exe /property:Configuration=%3 /property:Platform=%2 /target:Build   /verbosity:normal "%~1"
42 if not "%ERRORLEVEL%"=="0" (
43         "%~dp0\..\Utilities\CEcho.exe" red "\nBuild process has failed!\n"
44         pause && exit