more automation work
authorJack Moffitt <jack@xiph.org>
Sun, 5 Nov 2000 20:04:04 +0000 (20:04 +0000)
committerJack Moffitt <jack@xiph.org>
Sun, 5 Nov 2000 20:04:04 +0000 (20:04 +0000)
svn path=/trunk/vorbis/; revision=988

win32/build_vorbis_dynamic.bat
win32/build_vorbis_dynamic_debug.bat [new file with mode: 0755]
win32/build_vorbis_static.bat
win32/build_vorbis_static_debug.bat [new file with mode: 0755]

index 4368787..1c1cae3 100755 (executable)
@@ -1,14 +1,16 @@
 @echo off
 echo ---+++--- Building Vorbis (Dynamic) ---+++---
 
+if .%SRCROOT%==. set SRCROOT=c:\src
+           
 set OLDPATH=%PATH%
 set OLDINCLUDE=%INCLUDE%
 set OLDLIB=%LIB%
 
 call "c:\program files\microsoft visual studio\vc98\bin\vcvars32.bat"
 echo Setting include/lib paths for Vorbis
-set INCLUDE=%INCLUDE%;c:\src\ogg\include;c:\src\vorbis\include
-set LIB=%LIB%;c:\src\ogg\win32\Dynamic_Release
+set INCLUDE=%INCLUDE%;%SRCROOT%\ogg\include;c:\src\vorbis\include
+set LIB=%LIB%;%SRCROOT%\ogg\win32\Dynamic_Release
 echo Compiling...
 msdev vorbis_dynamic.dsp /useenv /make "vorbis_dynamic - Win32 Release" /rebuild
 
diff --git a/win32/build_vorbis_dynamic_debug.bat b/win32/build_vorbis_dynamic_debug.bat
new file mode 100755 (executable)
index 0000000..89090ef
--- /dev/null
@@ -0,0 +1,19 @@
+@echo off
+echo ---+++--- Building Vorbis (Dynamic) ---+++---
+
+if .%SRCROOT%==. set SRCROOT=c:\src
+           
+set OLDPATH=%PATH%
+set OLDINCLUDE=%INCLUDE%
+set OLDLIB=%LIB%
+
+call "c:\program files\microsoft visual studio\vc98\bin\vcvars32.bat"
+echo Setting include/lib paths for Vorbis
+set INCLUDE=%INCLUDE%;%SRCROOT%\ogg\include;c:\src\vorbis\include
+set LIB=%LIB%;%SRCROOT%\ogg\win32\Dynamic_Debug
+echo Compiling...
+msdev vorbis_dynamic.dsp /useenv /make "vorbis_dynamic - Win32 Debug" /rebuild
+
+set PATH=%OLDPATH%
+set INCLUDE=%OLDINCLUDE%
+set LIB=%OLDLIB%
index d0cfbec..cb51196 100755 (executable)
@@ -1,14 +1,16 @@
 @echo off
 echo ---+++--- Building Vorbis (Static) ---+++---
 
+if .%SRCROOT%==. set SRCROOT=c:\src
+
 set OLDPATH=%PATH%
 set OLDINCLUDE=%INCLUDE%
 set OLDLIB=%LIB%
 
 call "c:\program files\microsoft visual studio\vc98\bin\vcvars32.bat"
 echo Setting include/lib paths for Vorbis
-set INCLUDE=%INCLUDE%;c:\src\ogg\include;c:\src\vorbis\include
-set LIB=%LIB%;c:\src\ogg\win32\Static_Release
+set INCLUDE=%INCLUDE%;%SRCROOT%\ogg\include;c:\src\vorbis\include
+set LIB=%LIB%;%SRCROOT%\ogg\win32\Static_Release
 echo Compiling...
 msdev vorbis_static.dsp /useenv /make "vorbis_static - Win32 Release" /rebuild
 
diff --git a/win32/build_vorbis_static_debug.bat b/win32/build_vorbis_static_debug.bat
new file mode 100755 (executable)
index 0000000..ae67e83
--- /dev/null
@@ -0,0 +1,19 @@
+@echo off
+echo ---+++--- Building Vorbis (Static) ---+++---
+
+if .%SRCROOT%==. set SRCROOT=c:\src
+
+set OLDPATH=%PATH%
+set OLDINCLUDE=%INCLUDE%
+set OLDLIB=%LIB%
+
+call "c:\program files\microsoft visual studio\vc98\bin\vcvars32.bat"
+echo Setting include/lib paths for Vorbis
+set INCLUDE=%INCLUDE%;%SRCROOT%\ogg\include;c:\src\vorbis\include
+set LIB=%LIB%;%SRCROOT%\ogg\win32\Static_Debug
+echo Compiling...
+msdev vorbis_static.dsp /useenv /make "vorbis_static - Win32 Debug" /rebuild
+
+set PATH=%OLDPATH%
+set INCLUDE=%OLDINCLUDE%
+set LIB=%OLDLIB%