build_vorbisenc_static.bat 598 B

1234567891011121314151617181920
  1. @echo off
  2. echo ---+++--- Building Vorbisenc (Static) ---+++---
  3. if .%SRCROOT%==. set SRCROOT=i:\xiph
  4. set OLDPATH=%PATH%
  5. set OLDINCLUDE=%INCLUDE%
  6. set OLDLIB=%LIB%
  7. call "c:\program files\microsoft visual studio\vc98\bin\vcvars32.bat"
  8. echo Setting include/lib paths for Vorbis
  9. set INCLUDE=%INCLUDE%;%SRCROOT%\ogg\include;%SRCROOT%\vorbis\include
  10. set LIB=%LIB%;%SRCROOT%\ogg\win32\Static_Release;%SRCROOT%\vorbis\win32\Dynamic_Release
  11. echo Compiling...
  12. msdev vorbisenc_static.dsp /useenv /make "vorbisenc_static - Win32 Release" /rebuild
  13. set PATH=%OLDPATH%
  14. set INCLUDE=%OLDINCLUDE%
  15. set LIB=%OLDLIB%