Changeset 7594
- Timestamp:
- 03/11/12 11:27:19 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/Build.cmd
r7087 r7594 1 1 @ECHO OFF 2 2 3 SET CLEANBEFOREBUILD= 03 SET CLEANBEFOREBUILD= 4 4 5 5 SET SELECTED= … … 57 57 SET PLATFORM=%~3 58 58 ECHO Building platform %PLATFORM% ... 59 GOTO : main59 GOTO :clean 60 60 61 61 :prompt_platform 62 62 SET /P PLATFORM=Which platform to build [Any CPU]: 63 63 IF "%PLATFORM%"=="" SET PLATFORM=Any CPU 64 65 :clean 66 IF "%~4"=="" GOTO :prompt_clean 67 68 SET CLEANBEFOREBUILD=%~4 69 GOTO :main 70 71 :prompt_clean 72 SET /P CLEANBEFOREBUILD=Would you like to clean before building [n]: 73 IF "%CLEANBEFOREBUILD%"=="" SET CLEANBEFOREBUILD=n 64 74 65 75 :main … … 72 82 SET MSBuildUseNoSolutionCache=1 73 83 REM Run msbuild to clean and then build 74 IF "%CLEANBEFOREBUILD%" =="1" (84 IF "%CLEANBEFOREBUILD%" NEQ "n" ( 75 85 ECHO Cleaning ... 76 86 %MSBUILDPATH%msbuild.exe %SELECTED% /target:Clean /p:Configuration="%CONFIGURATION%",Platform="%PLATFORM%" /m:2 /nologo /verbosity:q /clp:ErrorsOnly 77 87 ) 78 88 ECHO Building ... 79 %MSBUILDPATH%msbuild.exe %SELECTED% /target: Rebuild /p:Configuration="%CONFIGURATION%",Platform="%PLATFORM%" /m:2 /nologo /verbosity:q /clp:ErrorsOnly89 %MSBUILDPATH%msbuild.exe %SELECTED% /target:Build /p:Configuration="%CONFIGURATION%",Platform="%PLATFORM%" /m:2 /nologo /verbosity:q /clp:ErrorsOnly 80 90 81 91 ECHO.
Note: See TracChangeset
for help on using the changeset viewer.