Changeset 16138 for branches/2931_OR-Tools_LP_MIP/Build.cmd
- Timestamp:
- 09/13/18 13:04:36 (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2931_OR-Tools_LP_MIP/Build.cmd
r15682 r16138 74 74 75 75 :main 76 REM First find the path to the msbuild.exe by performing a registry query77 FOR /F "tokens=1,3 delims= " %%A IN ('REG QUERY "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MSBuild\ToolsVersions\4.0"') DO (78 IF "%%A"=="MSBuildToolsPath" SET MSBUILDPATH=%%B)79 80 76 REM Then execute msbuild to clean and build the solution 81 77 REM Disable that msbuild creates a cache file of the solution … … 84 80 IF "%CLEANBEFOREBUILD%" NEQ "n" ( 85 81 ECHO Cleaning ... 86 %MSBUILDPATH%msbuild.exe %SELECTED% /target:Clean /p:Configuration="%CONFIGURATION%",Platform="%PLATFORM%" /m:2 /nologo /verbosity:q /clp:ErrorsOnly82 msbuild.exe %SELECTED% /target:Clean /p:Configuration="%CONFIGURATION%",Platform="%PLATFORM%" /m:2 /nologo /verbosity:q /clp:ErrorsOnly 87 83 ) 88 84 ECHO Building ... 89 %MSBUILDPATH%msbuild.exe %SELECTED% /target:Build /p:Configuration="%CONFIGURATION%",Platform="%PLATFORM%" /m:2 /nologo /verbosity:q /clp:ErrorsOnly85 msbuild.exe %SELECTED% /target:Build /p:Configuration="%CONFIGURATION%",Platform="%PLATFORM%" /m:2 /nologo /verbosity:q /clp:ErrorsOnly 90 86 91 87 ECHO.
Note: See TracChangeset
for help on using the changeset viewer.