The Design and Implementation of the FreeBSD Operating System, Second Edition
Now available: The Design and Implementation of the FreeBSD Operating System (Second Edition)


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]

FreeBSD/Linux Kernel Cross Reference
sys/contrib/libsodium/builds/msvc/build/buildbase.bat

Version: -  FREEBSD  -  FREEBSD-13-STABLE  -  FREEBSD-13-0  -  FREEBSD-12-STABLE  -  FREEBSD-12-0  -  FREEBSD-11-STABLE  -  FREEBSD-11-0  -  FREEBSD-10-STABLE  -  FREEBSD-10-0  -  FREEBSD-9-STABLE  -  FREEBSD-9-0  -  FREEBSD-8-STABLE  -  FREEBSD-8-0  -  FREEBSD-7-STABLE  -  FREEBSD-7-0  -  FREEBSD-6-STABLE  -  FREEBSD-6-0  -  FREEBSD-5-STABLE  -  FREEBSD-5-0  -  FREEBSD-4-STABLE  -  FREEBSD-3-STABLE  -  FREEBSD22  -  l41  -  OPENBSD  -  linux-2.6  -  MK84  -  PLAN9  -  xnu-8792 
SearchContext: -  none  -  3  -  10 

    1 @ECHO OFF
    2 REM Usage: [buildbase.bat ..\vs2013\mysolution.sln 12]
    3 
    4 SET solution=%1
    5 SET version=%2
    6 SET log=build_%version%.log
    7 SET tools=Microsoft Visual Studio %version%.0\VC\vcvarsall.bat
    8 IF %version% == 15 SET tools=Microsoft Visual Studio\2017\Community\VC\Auxiliary\Build\vcvarsall.bat
    9 SET environment="%programfiles(x86)%\%tools%"
   10 IF NOT EXIST %environment% SET environment="%programfiles%\%tools%"
   11 IF NOT EXIST %environment% GOTO no_tools
   12 
   13 ECHO Building: %solution%
   14 
   15 CALL %environment% x86 > nul
   16 ECHO Platform=x86
   17 
   18 ECHO Configuration=DynDebug
   19 msbuild /m /v:n /p:Configuration=DynDebug /p:Platform=Win32 %solution% >> %log%
   20 IF errorlevel 1 GOTO error
   21 ECHO Configuration=DynRelease
   22 msbuild /m /v:n /p:Configuration=DynRelease /p:Platform=Win32 %solution% >> %log%
   23 IF errorlevel 1 GOTO error
   24 ECHO Configuration=LtcgDebug
   25 msbuild /m /v:n /p:Configuration=LtcgDebug /p:Platform=Win32 %solution% >> %log%
   26 IF errorlevel 1 GOTO error
   27 ECHO Configuration=LtcgRelease
   28 msbuild /m /v:n /p:Configuration=LtcgRelease /p:Platform=Win32 %solution% >> %log%
   29 IF errorlevel 1 GOTO error
   30 ECHO Configuration=StaticDebug
   31 msbuild /m /v:n /p:Configuration=StaticDebug /p:Platform=Win32 %solution% >> %log%
   32 IF errorlevel 1 GOTO error
   33 ECHO Configuration=StaticRelease
   34 msbuild /m /v:n /p:Configuration=StaticRelease /p:Platform=Win32 %solution% >> %log%
   35 IF errorlevel 1 GOTO error
   36 
   37 CALL %environment% x86_amd64 > nul
   38 ECHO Platform=x64
   39 
   40 ECHO Configuration=DynDebug
   41 msbuild /m /v:n /p:Configuration=DynDebug /p:Platform=x64 %solution% >> %log%
   42 IF errorlevel 1 GOTO error
   43 ECHO Configuration=DynRelease
   44 msbuild /m /v:n /p:Configuration=DynRelease /p:Platform=x64 %solution% >> %log%
   45 IF errorlevel 1 GOTO error
   46 ECHO Configuration=LtcgDebug
   47 msbuild /m /v:n /p:Configuration=LtcgDebug /p:Platform=x64 %solution% >> %log%
   48 IF errorlevel 1 GOTO error
   49 ECHO Configuration=LtcgRelease
   50 msbuild /m /v:n /p:Configuration=LtcgRelease /p:Platform=x64 %solution% >> %log%
   51 IF errorlevel 1 GOTO error
   52 ECHO Configuration=StaticDebug
   53 msbuild /m /v:n /p:Configuration=StaticDebug /p:Platform=x64 %solution% >> %log%
   54 IF errorlevel 1 GOTO error
   55 ECHO Configuration=StaticRelease
   56 msbuild /m /v:n /p:Configuration=StaticRelease /p:Platform=x64 %solution% >> %log%
   57 IF errorlevel 1 GOTO error
   58 
   59 ECHO Complete: %solution%
   60 GOTO end
   61 
   62 :error
   63 ECHO *** ERROR, build terminated early, see: %log%
   64 GOTO end
   65 
   66 :no_tools
   67 ECHO *** ERROR, build tools not found: %tools%
   68 
   69 :end
   70 

Cache object: 59b5a28cb49b1dfebc472cfc1b8ed8ec


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]


This page is part of the FreeBSD/Linux Linux Kernel Cross-Reference, and was automatically generated using a modified version of the LXR engine.