Skip to content

Commit 3241b24

Browse files
author
Jack Moffitt
committed
more automation work
svn path=/trunk/vorbis/; revision=988
1 parent 357105c commit 3241b24

File tree

4 files changed

+46
-4
lines changed

4 files changed

+46
-4
lines changed

win32/build_vorbis_dynamic.bat

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,16 @@
11
@echo off
22
echo ---+++--- Building Vorbis (Dynamic) ---+++---
33

4+
if .%SRCROOT%==. set SRCROOT=c:\src
5+
46
set OLDPATH=%PATH%
57
set OLDINCLUDE=%INCLUDE%
68
set OLDLIB=%LIB%
79

810
call "c:\program files\microsoft visual studio\vc98\bin\vcvars32.bat"
911
echo Setting include/lib paths for Vorbis
10-
set INCLUDE=%INCLUDE%;c:\src\ogg\include;c:\src\vorbis\include
11-
set LIB=%LIB%;c:\src\ogg\win32\Dynamic_Release
12+
set INCLUDE=%INCLUDE%;%SRCROOT%\ogg\include;c:\src\vorbis\include
13+
set LIB=%LIB%;%SRCROOT%\ogg\win32\Dynamic_Release
1214
echo Compiling...
1315
msdev vorbis_dynamic.dsp /useenv /make "vorbis_dynamic - Win32 Release" /rebuild
1416

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
@echo off
2+
echo ---+++--- Building Vorbis (Dynamic) ---+++---
3+
4+
if .%SRCROOT%==. set SRCROOT=c:\src
5+
6+
set OLDPATH=%PATH%
7+
set OLDINCLUDE=%INCLUDE%
8+
set OLDLIB=%LIB%
9+
10+
call "c:\program files\microsoft visual studio\vc98\bin\vcvars32.bat"
11+
echo Setting include/lib paths for Vorbis
12+
set INCLUDE=%INCLUDE%;%SRCROOT%\ogg\include;c:\src\vorbis\include
13+
set LIB=%LIB%;%SRCROOT%\ogg\win32\Dynamic_Debug
14+
echo Compiling...
15+
msdev vorbis_dynamic.dsp /useenv /make "vorbis_dynamic - Win32 Debug" /rebuild
16+
17+
set PATH=%OLDPATH%
18+
set INCLUDE=%OLDINCLUDE%
19+
set LIB=%OLDLIB%

win32/build_vorbis_static.bat

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,16 @@
11
@echo off
22
echo ---+++--- Building Vorbis (Static) ---+++---
33

4+
if .%SRCROOT%==. set SRCROOT=c:\src
5+
46
set OLDPATH=%PATH%
57
set OLDINCLUDE=%INCLUDE%
68
set OLDLIB=%LIB%
79

810
call "c:\program files\microsoft visual studio\vc98\bin\vcvars32.bat"
911
echo Setting include/lib paths for Vorbis
10-
set INCLUDE=%INCLUDE%;c:\src\ogg\include;c:\src\vorbis\include
11-
set LIB=%LIB%;c:\src\ogg\win32\Static_Release
12+
set INCLUDE=%INCLUDE%;%SRCROOT%\ogg\include;c:\src\vorbis\include
13+
set LIB=%LIB%;%SRCROOT%\ogg\win32\Static_Release
1214
echo Compiling...
1315
msdev vorbis_static.dsp /useenv /make "vorbis_static - Win32 Release" /rebuild
1416

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
@echo off
2+
echo ---+++--- Building Vorbis (Static) ---+++---
3+
4+
if .%SRCROOT%==. set SRCROOT=c:\src
5+
6+
set OLDPATH=%PATH%
7+
set OLDINCLUDE=%INCLUDE%
8+
set OLDLIB=%LIB%
9+
10+
call "c:\program files\microsoft visual studio\vc98\bin\vcvars32.bat"
11+
echo Setting include/lib paths for Vorbis
12+
set INCLUDE=%INCLUDE%;%SRCROOT%\ogg\include;c:\src\vorbis\include
13+
set LIB=%LIB%;%SRCROOT%\ogg\win32\Static_Debug
14+
echo Compiling...
15+
msdev vorbis_static.dsp /useenv /make "vorbis_static - Win32 Debug" /rebuild
16+
17+
set PATH=%OLDPATH%
18+
set INCLUDE=%OLDINCLUDE%
19+
set LIB=%OLDLIB%

0 commit comments

Comments
 (0)