@echo off

rem
rem build_vs71.cmd
rem
rem command-line build script for VS 7.1 [generated by mkrelease]
rem

rem Change OPENSSL_DIR to match your setup
set OPENSSL_DIR=c:\OpenSSL
set OPENSSL_INCLUDE=%OPENSSL_DIR%\include
set OPENSSL_LIB=%OPENSSL_DIR%\lib\VC
set INCLUDE=%INCLUDE%;%OPENSSL_INCLUDE%
set LIB=%LIB%;%OPENSSL_LIB%

set POCOBASE=%CD%
set PATH=%POCOBASE%\bin;%PATH%

cd CppUnit
devenv /useenv /rebuild debug_shared CppUnit_vs71.sln
devenv /useenv /rebuild release_shared CppUnit_vs71.sln
cd %POCOBASE%

cd Foundation
devenv /useenv /rebuild debug_shared Foundation_vs71.sln
devenv /useenv /rebuild release_shared Foundation_vs71.sln
cd %POCOBASE%

cd XML
devenv /useenv /rebuild debug_shared XML_vs71.sln
devenv /useenv /rebuild release_shared XML_vs71.sln
cd %POCOBASE%

cd Util
devenv /useenv /rebuild debug_shared Util_vs71.sln
devenv /useenv /rebuild release_shared Util_vs71.sln
cd %POCOBASE%

cd Net
devenv /useenv /rebuild debug_shared Net_vs71.sln
devenv /useenv /rebuild release_shared Net_vs71.sln
cd %POCOBASE%

cd NetSSL_OpenSSL
devenv /useenv /rebuild debug_shared NetSSL_OpenSSL_vs71.sln
devenv /useenv /rebuild release_shared NetSSL_OpenSSL_vs71.sln
cd %POCOBASE%
		
cd Foundation/samples
devenv /useenv /rebuild debug_shared samples_vs71.sln
devenv /useenv /rebuild release_shared samples_vs71.sln
cd %POCOBASE%
		
cd XML/samples
devenv /useenv /rebuild debug_shared samples_vs71.sln
devenv /useenv /rebuild release_shared samples_vs71.sln
cd %POCOBASE%
		
cd Util/samples
devenv /useenv /rebuild debug_shared samples_vs71.sln
devenv /useenv /rebuild release_shared samples_vs71.sln
cd %POCOBASE%
		
cd Net/samples
devenv /useenv /rebuild debug_shared samples_vs71.sln
devenv /useenv /rebuild release_shared samples_vs71.sln
cd %POCOBASE%
		
cd NetSSL_OpenSSL/samples
devenv /useenv /rebuild debug_shared samples_vs71.sln
devenv /useenv /rebuild release_shared samples_vs71.sln
cd %POCOBASE%
