home *** CD-ROM | disk | FTP | other *** search
/ PC Pro 2005 June (DVD) / DPPRO0605DVD.iso / dotNETSDK / SETUP.EXE / netfxsd1.cab / build_bat_188________.3643236F_FC70_11D3_A536_0090278A1BB8 < prev    next >
Encoding:
Text File  |  2002-01-21  |  814 b   |  29 lines

  1. @ REM Set command switch for building debug or retail (default is to build debug)
  2. @ REM Type "build.bat -r" to build for retail
  3. @ SET DEBUGSAMPLE=/debug
  4. @ IF "%1"=="-r" SET DEBUGSAMPLE=
  5. @ IF "%1"=="-R" SET DEBUGSAMPLE=
  6. @ SET DEBUGSAMPLECL=/Zi
  7. @ IF "%1"=="-r" SET DEBUGSAMPLECL=
  8. @ IF "%1"=="-R" SET DEBUGSAMPLECL=
  9.  
  10.  
  11. if not exist ..\bin md ..\bin
  12. if exist ..\bin\CompCS.dll goto CompCSEnd
  13.   pushd ..\CompCS
  14.   call Build.bat %1
  15.   popd
  16. :CompCSEnd
  17. if exist ..\bin\CompVB.dll goto CompVBEnd
  18.   pushd ..\CompVB
  19.   call Build.bat %1
  20.   popd
  21. :CompVBEnd
  22. if exist ..\bin\CompVC.dll goto CompVCEnd
  23.   pushd ..\CompVC
  24.   call Build.bat %1
  25.   popd
  26. :CompVCEnd
  27. cl.exe /clr %DEBUGSAMPLECL% /c ClientVC.cpp
  28. link.exe %DEBUGSAMPLE% /nod:libcpmt.lib kernel32.lib mscoree.lib /out:..\bin\ClientVC.exe ClientVC.obj
  29.