summaryrefslogtreecommitdiff
path: root/win32
diff options
context:
space:
mode:
authorJack Moffitt <jack@xiph.org>2000-10-23 03:48:03 +0000
committerJack Moffitt <jack@xiph.org>2000-10-23 03:48:03 +0000
commit7e30992abf41a30de2693c681592ac4e0aee0e67 (patch)
tree5667a534155497ffed2e4ea45a86922aaeeb3ade /win32
parente589881d511615976ba87ff744d1e798eeb2fc4d (diff)
downloadogg-7e30992abf41a30de2693c681592ac4e0aee0e67.tar.gz
using these .bat files, you can build ogg from the command line
useful for automated builds, or for those who don't want to mess around in the GUI :) git-svn-id: http://svn.xiph.org/trunk/ogg@757 0101bb08-14d6-0310-b084-bc0e0c8e3800
Diffstat (limited to 'win32')
-rwxr-xr-xwin32/build_ogg_dynamic.bat16
-rwxr-xr-xwin32/build_ogg_static.bat16
2 files changed, 32 insertions, 0 deletions
diff --git a/win32/build_ogg_dynamic.bat b/win32/build_ogg_dynamic.bat
new file mode 100755
index 0000000..2d6ae76
--- /dev/null
+++ b/win32/build_ogg_dynamic.bat
@@ -0,0 +1,16 @@
+@echo off
+echo ---+++--- Building Ogg (Dynamic) ---+++---
+
+set OLDPATH=%PATH%
+set OLDINCLUDE=%INCLUDE%
+set OLDLIB=%LIB%
+
+call "c:\program files\microsoft visual studio\vc98\bin\vcvars32.bat"
+echo Setting include paths for Ogg
+set INCLUDE=%INCLUDE%;c:\src\ogg\include
+echo Compiling...
+msdev ogg_dynamic.dsp /useenv /make "ogg_dynamic - Win32 Release" /rebuild
+
+set PATH=%OLDPATH%
+set INCLUDE=%OLDINCLUDE%
+set LIB=%OLDLIB%
diff --git a/win32/build_ogg_static.bat b/win32/build_ogg_static.bat
new file mode 100755
index 0000000..67d0b21
--- /dev/null
+++ b/win32/build_ogg_static.bat
@@ -0,0 +1,16 @@
+@echo off
+echo ---+++--- Building Ogg (Static) ---+++---
+
+set OLDPATH=%PATH%
+set OLDINCLUDE=%INCLUDE%
+set OLDLIB=%LIB%
+
+call "c:\program files\microsoft visual studio\vc98\bin\vcvars32.bat"
+echo Setting include paths for Ogg
+set INCLUDE=%INCLUDE%;c:\src\ogg\include
+echo Compiling...
+msdev ogg_static.dsp /useenv /make "ogg_static - Win32 Release" /rebuild
+
+set PATH=%OLDPATH%
+set INCLUDE=%OLDINCLUDE%
+set LIB=%OLDLIB%