Changeset 4873
- Timestamp:
- 11/20/10 16:34:15 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/Build.cmd
r4863 r4873 4 4 FOR /F "tokens=*" %%A IN ('dir /B *.sln') DO ( 5 5 CALL :forloopbody "%%A") 6 7 IF "%COUNT%"=="1" ( 8 SET SELECTED=%SOLUTIONS.1% 9 ECHO Building %SOLUTIONS.1% as it is the only solution that was found ... 10 GOTO :config_platform_selection) 6 11 7 12 ECHO Found the following solutions: … … 16 21 IF %SELECTED%=="" GOTO :eof 17 22 23 :config_platform_selection 18 24 SET /P CONFIGURATION=Which configuration to build [Debug]: 19 25 IF "%CONFIGURATION%"=="" SET CONFIGURATION=Debug … … 22 28 23 29 REM First find the path to the msbuild.exe by performing a registry query 24 FOR /F "tokens=1,3 delims= " %%A IN ('REG QUERY "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MSBuild\ToolsVersions\4.0"') DO IF "%%A"=="MSBuildToolsPath" SET MSBUILDPATH=%%B 30 FOR /F "tokens=1,3 delims= " %%A IN ('REG QUERY "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MSBuild\ToolsVersions\4.0"') DO ( 31 IF "%%A"=="MSBuildToolsPath" SET MSBUILDPATH=%%B) 25 32 26 33 REM Then execute msbuild to clean and build the solution
Note: See TracChangeset
for help on using the changeset viewer.